Explorar el Código

从表默认不能为空

zhuth hace 8 años
padre
commit
6ede39af9e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;