Source/ProjectWeb/src/components/dynamic-components/dynamic-form.vue
@@ -101,15 +101,6 @@ } }, watch:{ sourceData:{ handler(newval) { //源数据有变化时变更当前区域数据 console.log(this.areasName); console.log(newval); } } }, watch:{ slotData:{ handler(newV){ this.getDictList(newV) @@ -139,6 +130,13 @@ deep: true, immediate: true, }, sourceData:{ handler(newval) { //源数据有变化时变更当前区域数据 console.log(this.areasName); console.log(newval); } } }, methods: { //转化数据