企业标准树形我的收藏放在最下面
This commit is contained in:
+4
@@ -2059,7 +2059,11 @@ export default {
|
||||
userId: this.$store.getters.userInfo.userId
|
||||
}, {}, res => {
|
||||
if (res.ok) {
|
||||
for (let i in res.data) {
|
||||
let arr = res.data[i].children
|
||||
arr.push(arr.shift())
|
||||
this.treeList = res.data
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user