commit
This commit is contained in:
@@ -256,7 +256,7 @@ export default {
|
|||||||
treeData3: [],
|
treeData3: [],
|
||||||
defaultProps3: {
|
defaultProps3: {
|
||||||
children: 'children',
|
children: 'children',
|
||||||
label: 'name'
|
label: 'menuName'
|
||||||
},
|
},
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
modalflag: false,
|
modalflag: false,
|
||||||
@@ -389,6 +389,9 @@ export default {
|
|||||||
this.nodeList3 = []
|
this.nodeList3 = []
|
||||||
this.nodeList3.push(this.addForm.parentId)
|
this.nodeList3.push(this.addForm.parentId)
|
||||||
}
|
}
|
||||||
|
this.$watch('newForm', (newVal, oldVal) => {
|
||||||
|
console.log(newVal, oldVal);
|
||||||
|
})
|
||||||
this.addModel = true
|
this.addModel = true
|
||||||
},
|
},
|
||||||
getTree3 () {
|
getTree3 () {
|
||||||
@@ -493,7 +496,12 @@ export default {
|
|||||||
this.$refs.tree.filter(val);
|
this.$refs.tree.filter(val);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
computed:{
|
||||||
|
newForm() {
|
||||||
|
return JSON.parse(JSON.stringify(this.addForm))
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted () {
|
||||||
this.getTree()
|
this.getTree()
|
||||||
this.getTree2()
|
this.getTree2()
|
||||||
this.getTree3()
|
this.getTree3()
|
||||||
|
|||||||
Reference in New Issue
Block a user