mooho-base-admin-plus 2.5.27 → 2.5.29
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 +2 -0
- package/package/mooho-base-admin-plus.min.esm.js +13 -3
- package/package/mooho-base-admin-plus.min.js +2 -2
- package/package/style.css +1 -1
- package/package.json +1 -1
- package/src/components/upload/upload-image.vue +9 -1
- package/src/components/view/modal-form.vue +3 -0
- package/src/components/view/view-form.vue +13 -1
package/history.md
CHANGED
|
@@ -121,3 +121,5 @@ mooho-base-admin-plus@2.5.24 - 增加批量审批功能
|
|
|
121
121
|
mooho-base-admin-plus@2.5.25 - 弹出表单组件增加getFullDataWithoutValidate方法
|
|
122
122
|
mooho-base-admin-plus@2.5.26 - 修复上一版本的bug
|
|
123
123
|
mooho-base-admin-plus@2.5.27 - 修复升级后出现的警告
|
|
124
|
+
mooho-base-admin-plus@2.5.28 - form增加tables属性
|
|
125
|
+
mooho-base-admin-plus@2.5.29 - 修复升级后出现的警告
|
|
@@ -28505,7 +28505,7 @@ function _sfc_render$z(r, a, o, s, l, u) {
|
|
|
28505
28505
|
createElementVNode("a", {
|
|
28506
28506
|
href: "#",
|
|
28507
28507
|
download: l.imageUrl,
|
|
28508
|
-
onClick:
|
|
28508
|
+
onClick: () => !1
|
|
28509
28509
|
}, [
|
|
28510
28510
|
l.preview ? (openBlock(), createElementBlock("img", {
|
|
28511
28511
|
key: 0,
|
|
@@ -28519,7 +28519,7 @@ function _sfc_render$z(r, a, o, s, l, u) {
|
|
|
28519
28519
|
}, 8, ["modelValue", "mask-closable", "draggable"])
|
|
28520
28520
|
]);
|
|
28521
28521
|
}
|
|
28522
|
-
const uploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-
|
|
28522
|
+
const uploadImage = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-795f9148"]]), __vite_glob_1_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28523
28523
|
__proto__: null,
|
|
28524
28524
|
default: uploadImage
|
|
28525
28525
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$y = {
|
|
@@ -37158,6 +37158,9 @@ const modalFormSort = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_
|
|
|
37158
37158
|
},
|
|
37159
37159
|
columns() {
|
|
37160
37160
|
return this.$refs.form.columns;
|
|
37161
|
+
},
|
|
37162
|
+
tables() {
|
|
37163
|
+
return this.$refs.form.tables;
|
|
37161
37164
|
}
|
|
37162
37165
|
},
|
|
37163
37166
|
methods: {
|
|
@@ -39330,7 +39333,14 @@ const tableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
|
|
|
39330
39333
|
default: !0
|
|
39331
39334
|
}
|
|
39332
39335
|
},
|
|
39333
|
-
computed: {
|
|
39336
|
+
computed: {
|
|
39337
|
+
tables() {
|
|
39338
|
+
let r = {};
|
|
39339
|
+
for (let a of this.columns)
|
|
39340
|
+
a.controlType == "Table" && !a.isReadonly && a.isShow && (r[a.code] = this.$refs["table_" + a.code][0]);
|
|
39341
|
+
return r;
|
|
39342
|
+
}
|
|
39343
|
+
},
|
|
39334
39344
|
watch: {
|
|
39335
39345
|
data() {
|
|
39336
39346
|
this.data && Object.keys(this.data).length > 0 && this.columns.forEach(async (r) => {
|