diff --git a/bi/core.js b/bi/core.js index ab4d1a5eb..05effe0c2 100644 --- a/bi/core.js +++ b/bi/core.js @@ -5837,9 +5837,6 @@ BI.View = BI.inherit(BI.V, { throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - _.extend(cls.prototype, { - xtype: xtype - }) }; // 根据配置属性生成widget diff --git a/docs/core.js b/docs/core.js index cf66ba0af..d7b40882d 100644 --- a/docs/core.js +++ b/docs/core.js @@ -15833,9 +15833,6 @@ BI.View = BI.inherit(BI.V, { throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - _.extend(cls.prototype, { - xtype: xtype - }) }; // 根据配置属性生成widget diff --git a/src/core/shortcut.js b/src/core/shortcut.js index bd8841c9c..4bd757575 100644 --- a/src/core/shortcut.js +++ b/src/core/shortcut.js @@ -6,9 +6,6 @@ throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - _.extend(cls.prototype, { - xtype: xtype - }) }; // 根据配置属性生成widget