rainco 7 years ago
parent
commit
e03e2b4f1e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      frontend/saas-web/app/view/core/query/QueryPanel.js

+ 1 - 2
frontend/saas-web/app/view/core/query/QueryPanel.js

@@ -48,8 +48,7 @@ Ext.define('saas.view.core.query.QueryPanel', {
     setQuertGridConfigs: function() {
         var me = this,
         queryGrid = me.items[1];
-        me.queryGridConfig['columns']=me.queryGridConfig._baseColumn;
-        console.log('me.queryGridConfig:',me.queryGridConfig);
+        me.queryGridConfig['columns']=me.queryGridConfig._baseColumn || [];
         Ext.apply(queryGrid,me.queryGridConfig);
     }