发布从测试版本2.3.4

This commit is contained in:
2021-06-18 17:31:48 +08:00
parent 43e437209e
commit 50ee24192f
15 changed files with 119 additions and 88 deletions
+1
View File
@@ -29,6 +29,7 @@ function gridForm(table, options) {
grid.tableTitle = options.title;
grid.tableKey = options.table;
grid.tableSaveDataNotEmpty = options.saveDataNotEmpty;
grid.defaultColDef.sortable = false;
grid.defaultColDef.filter = false;
+2 -2
View File
@@ -32,8 +32,8 @@
}
}
if (rows.length == 0) {
toastrError(t.tableTitle + '不能为空。');
if (rows.length == 0 && t.tableSaveDataNotEmpty === true) {
toastrError(t.tableTitle + ' 不能为空。');
return false;
} else {
gets[t.tableKey] = {rows: rows, deleteds: store.deleted};