Explorar el Código

更新 yvan-ext-mobile.js

lizw hace 3 años
padre
commit
61c8d9384d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
           }