Commit baeed2e8 authored by RuoYi's avatar RuoYi

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

parent 2903de15
...@@ -513,7 +513,12 @@ export default { ...@@ -513,7 +513,12 @@ export default {
this.open = true; this.open = true;
this.$nextTick(() => { this.$nextTick(() => {
roleMenu.then(res => { 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 = "修改角色"; this.title = "修改角色";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment