修复角色管理-编辑角色-功能权限显示异常

master
wanghuan 2021-01-30 16:35:11 +08:00
parent 0dcc955ced
commit 1804d4fce6
1 changed files with 6 additions and 1 deletions

View File

@ -513,7 +513,12 @@ export default {
this.open = true;
this.$nextTick(() => {
roleMenu.then(res => {
this.$refs.menu.setCheckedKeys(res.checkedKeys);
let checkedKeys = res.checkedKeys
checkedKeys.forEach((v) => {
this.$nextTick(()=>{
this.$refs.menu.setChecked(v, true ,false);
})
})
});
});
this.title = "修改角色";