فهرست منبع

flex列单页面bug解决

zhuth 7 سال پیش
والد
کامیت
c3a0c9ab02
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      frontend/saas-web/app/util/FormUtil.js

+ 6 - 4
frontend/saas-web/app/util/FormUtil.js

@@ -113,10 +113,12 @@ Ext.define('saas.util.FormUtil', {
                                 }
                             });
 
-                            columns.push({
-                                flex: 1,
-                                allowBlank: true
-                            });
+                            if(columns[columns.length - 1].flex != 1) {
+                                columns.push({
+                                    flex: 1,
+                                    allowBlank: true
+                                });
+                            }
 
                             cnames.push(item.detnoColumn);