feat: There is no way the,tree
This commit is contained in:
@@ -3077,12 +3077,8 @@ export default {
|
|||||||
userId: this.$store.getters.userInfo.userId
|
userId: this.$store.getters.userInfo.userId
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
for (let i in res.data) {
|
|
||||||
let arr = res.data[i].children
|
|
||||||
arr.push(arr.shift())
|
|
||||||
this.treeList = res.data
|
this.treeList = res.data
|
||||||
}
|
}
|
||||||
}
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 查询所有菜单
|
// 查询所有菜单
|
||||||
|
|||||||
-4
@@ -2057,12 +2057,8 @@ export default {
|
|||||||
userId: this.$store.getters.userInfo.userId
|
userId: this.$store.getters.userInfo.userId
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
for (let i in res.data) {
|
|
||||||
let arr = res.data[i].children
|
|
||||||
arr.push(arr.shift())
|
|
||||||
this.treeList = res.data
|
this.treeList = res.data
|
||||||
}
|
}
|
||||||
}
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 查询二级菜单
|
// 查询二级菜单
|
||||||
|
|||||||
@@ -2866,12 +2866,8 @@ export default {
|
|||||||
userId: this.$store.getters.userInfo.userId
|
userId: this.$store.getters.userInfo.userId
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
for (let i in res.data) {
|
|
||||||
let arr = res.data[i].children
|
|
||||||
arr.push(arr.shift())
|
|
||||||
this.treeList = res.data
|
this.treeList = res.data
|
||||||
}
|
}
|
||||||
}
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 树-删除
|
// 树-删除
|
||||||
|
|||||||
Reference in New Issue
Block a user