lw-cdp-ui 1.2.11 → 1.2.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.
|
@@ -252,6 +252,13 @@ export default {
|
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
watch: {
|
|
255
|
+
item: {
|
|
256
|
+
handler(val) {
|
|
257
|
+
this.objItem = val
|
|
258
|
+
},
|
|
259
|
+
immediate: true,
|
|
260
|
+
deep: true
|
|
261
|
+
},
|
|
255
262
|
form: {
|
|
256
263
|
handler(val) {
|
|
257
264
|
if (this.item.component === 'checkbox' || this.item.component === 'upload') {
|
|
@@ -259,15 +266,9 @@ export default {
|
|
|
259
266
|
option.value = this.flattenObject(this.form, option.name, option.value)
|
|
260
267
|
});
|
|
261
268
|
} else {
|
|
262
|
-
this.objItem.value= this.flattenObject(this.form, this.item.name, this.objItem.value)
|
|
269
|
+
this.objItem.value = this.flattenObject(this.form, this.item.name, this.objItem.value)
|
|
263
270
|
}
|
|
264
|
-
|
|
265
|
-
immediate: true,
|
|
266
|
-
deep: true
|
|
267
|
-
},
|
|
268
|
-
item: {
|
|
269
|
-
handler(val) {
|
|
270
|
-
this.objItem = val
|
|
271
|
+
|
|
271
272
|
},
|
|
272
273
|
immediate: true,
|
|
273
274
|
deep: true
|