mooho-base-admin-plus 2.10.54 → 2.10.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -722,10 +722,14 @@
|
|
|
722
722
|
async validate() {
|
|
723
723
|
let rows = [];
|
|
724
724
|
|
|
725
|
-
for (let i = 0; i < this.staticData.length
|
|
725
|
+
for (let i = 0; i < this.staticData.length; i++) {
|
|
726
726
|
rows.push(i);
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
+
if (!this.readonly && this.tableView.createEnable) {
|
|
730
|
+
rows.pop();
|
|
731
|
+
}
|
|
732
|
+
|
|
729
733
|
return new Promise(resolve => {
|
|
730
734
|
this.$refs.table.hotInstance.validateRows(rows, valid => {
|
|
731
735
|
resolve(valid);
|