Kaynağa Gözat

从表默认不能为空

zhuth 7 yıl önce
ebeveyn
işleme
6ede39af9e

+ 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;