Source/ProjectWeb/src/components/dynamic-components/dynamic-form.vue
@@ -60,7 +60,7 @@ default: '' }, sourceData:{ //菜单源数据或者弹窗时按钮所属区域的上一区域选中数据 //所属区域的上一区域选中数据 type:Object, default: {} }, @@ -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: { //转化数据