mooho-base-admin-plus 2.10.12 → 2.10.13
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/history.md
CHANGED
|
@@ -41454,8 +41454,11 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
|
|
|
41454
41454
|
*/
|
|
41455
41455
|
setDefault(a) {
|
|
41456
41456
|
if (this.data = this.getDefaultData(), a)
|
|
41457
|
-
for (let
|
|
41458
|
-
this.data[
|
|
41457
|
+
for (let o in a)
|
|
41458
|
+
this.data[o] = a[o];
|
|
41459
|
+
let r = this.columns.filter((o) => o.controlType == "Table" && o.isRequired);
|
|
41460
|
+
for (let o of r)
|
|
41461
|
+
this.$refs["table_" + o.code][0].addNew();
|
|
41459
41462
|
this.clearValidate();
|
|
41460
41463
|
},
|
|
41461
41464
|
/**
|