浏览代码

更新 yvan-ext-mobile.js

lizw 3 年之前
父节点
当前提交
61c8d9384d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dist/yvan-ext-mobile.js

+ 1 - 1
dist/yvan-ext-mobile.js

@@ -40328,7 +40328,7 @@ define(['exports'], function (exports) { 'use strict';
    */
   function getFileds(newConfig) {
       var fields = [];
-      lodash.forEach(newConfig.columns, function (c) {
+      lodash.forEach(newConfig.columns || newConfig._columns, function (c) {
           if (c.dataIndex) {
               fields.push(c.dataIndex);
           }