Browse Source

从表默认不能为空

zhuth 7 years ago
parent
commit
6ede39af9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/saas-web/app/view/core/form/field/DetailGridField.js

+ 1 - 1
frontend/saas-web/app/view/core/form/field/DetailGridField.js

@@ -26,7 +26,7 @@ Ext.define('saas.view.core.form.field.DetailGridField', {
     showIndex: true,
     configUrl: '',
     editable: true,
-    allowEmpty: true, // 校验时只校验dirty数据
+    allowEmpty: false, // 校验时只校验dirty数据
 
     initComponent: function() {
         var me = this;