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