|
|
@ -405,7 +405,7 @@ export function shortcut(xtype, cls) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 兼容性
|
|
|
|
// 兼容性
|
|
|
|
if(!cls.superclass) { |
|
|
|
if (!cls.hasOwnProperty("superclass")) { |
|
|
|
cls.superclass = Object.getPrototypeOf(cls.prototype); |
|
|
|
cls.superclass = Object.getPrototypeOf(cls.prototype); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|