lw-cdp-ui 1.3.24 → 1.3.25
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.
|
@@ -262,8 +262,9 @@ export default {
|
|
|
262
262
|
setTimeout(() => {
|
|
263
263
|
this.isLock = false
|
|
264
264
|
}, 1000)
|
|
265
|
-
this
|
|
266
|
-
this.$emit('
|
|
265
|
+
let value = this.multiple ? this.defaultValue : { ...this.modelValue, ...this.defaultValue }
|
|
266
|
+
this.$emit('update:modelValue', value)
|
|
267
|
+
this.$emit('change', value)
|
|
267
268
|
},
|
|
268
269
|
// 初始化回显
|
|
269
270
|
initValue(val = this.modelValue) {
|
package/dist/lw-cdp-ui.esm.js
CHANGED
|
@@ -8212,7 +8212,9 @@ const h7 = /* @__PURE__ */ ce(s7, [["render", f7], ["__scopeId", "data-v-2ebe66a
|
|
|
8212
8212
|
lock() {
|
|
8213
8213
|
this.isLock = !0, setTimeout(() => {
|
|
8214
8214
|
this.isLock = !1;
|
|
8215
|
-
}, 1e3)
|
|
8215
|
+
}, 1e3);
|
|
8216
|
+
let e = this.multiple ? this.defaultValue : { ...this.modelValue, ...this.defaultValue };
|
|
8217
|
+
this.$emit("update:modelValue", e), this.$emit("change", e);
|
|
8216
8218
|
},
|
|
8217
8219
|
// 初始化回显
|
|
8218
8220
|
initValue(e = this.modelValue) {
|
|
@@ -8326,7 +8328,7 @@ function v7(e, n, t, r, a, o) {
|
|
|
8326
8328
|
_: 3
|
|
8327
8329
|
}, 8, ["modelValue", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "placeholder", "disabled", "filter-method", "onRemoveTag", "onVisibleChange", "onClear"]);
|
|
8328
8330
|
}
|
|
8329
|
-
const y7 = /* @__PURE__ */ ce(p7, [["render", v7], ["__scopeId", "data-v-
|
|
8331
|
+
const y7 = /* @__PURE__ */ ce(p7, [["render", v7], ["__scopeId", "data-v-cb39e598"]]), b7 = {
|
|
8330
8332
|
components: {
|
|
8331
8333
|
lwUpload: Zt
|
|
8332
8334
|
},
|