Source/ProjectWeb/src/components/dynamic-components/dynamic-tree.vue
@@ -7,6 +7,7 @@ <el-tree class="filter-tree" :show-checkbox="isMuti" :check-on-click-node="true" :lazy="lazy" :data="data" :load="loadNode" @@ -42,6 +43,11 @@ type:Object, default: {} }, dataStore:{ //弹窗时按钮所属区域选中数据 type:Array, default: [] }, paramVOS:{ type:Object, default: {} @@ -66,9 +72,19 @@ checkDatas:{ handler(newval) { if(newval) { console.log(newval) this.$emit("setDataStore", { area: this.areasName, dataStore:newval }); } } }, sourceData:{ handler(newval) { //源数据有变化时变更当前区域数据 console.log(this.areasName); console.log(newval); } } }, data() {