角色配置--首页应该是默认勾选且置灰的状态
This commit is contained in:
@@ -917,12 +917,14 @@ export default {
|
||||
res.data.forEach(item => {
|
||||
if (item.id && item.id == 'asdfadf') {
|
||||
item.disabled = true;
|
||||
this.nodeList.push(item.id)
|
||||
// if (item.childNodes && item.childNodes.length !== 0) {
|
||||
// this.addAttr(item.childNodes);
|
||||
// }
|
||||
}
|
||||
})
|
||||
this.treeData2 = res.data
|
||||
console.log(this.treeData2);
|
||||
this.twoLoading = false
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user