Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue
Conflicts: ruoyi-ui/src/views/system/role/index.vue
This commit is contained in:
commit
6f0dfa850a
|
@ -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 = "修改角色";
|
||||||
|
|
Loading…
Reference in New Issue