Commit df980388 by 杨北旺

查看角色详情默认显示

1 parent d68e800f
...@@ -98,6 +98,9 @@ export default { ...@@ -98,6 +98,9 @@ export default {
this.$apis.role.roleTreeDataById({ id }).then(res => { this.$apis.role.roleTreeDataById({ id }).then(res => {
this.rootList = res this.rootList = res
this.productList = this.rootList[0].products || [] this.productList = this.rootList[0].products || []
if(this.productList.length){
this.newTreeList = this.productList[0].merchantProTreeResponses || []
}
}) })
}, },
selectRootItem(index) { selectRootItem(index) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!