소스 검색

Merge remote-tracking branch 'origin/master'

luoyifan 3 년 전
부모
커밋
c74346173b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/controls/component.js

+ 1 - 1
src/controls/component.js

@@ -5,7 +5,7 @@ export default function () {
     const ct = Ext.Component.prototype.constructor
     Ext.Component.override({
         constructor: function (config) {
-            if(config) {
+            if(!window["IS_DESIGN_MODE"] && config) {
                 const me = this
                 // 任意组件 Ext.Component 构造时调用的方法, 可以用来在渲染之前加工处理 VJSON
                 _.each(baseConfigProcessList, process => {