Browse Source

REPORT-94791 fix:老代码继承结构不对

es6
Treecat 2 years ago
parent
commit
35415d301d
  1. 2
      packages/fineui/src/core/5.inject.js

2
packages/fineui/src/core/5.inject.js

@ -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);
} }

Loading…
Cancel
Save