Commit 3e5e0a0b by caoyanzhi

fix:修复管角色配置的权限配置菜单交互bug

parent 312180a2
......@@ -33,8 +33,12 @@ export default {
checkedId: Object
},
watch: {
checkedId(checked) {
this.$refs.menuList.setCheckedKeys(checked[this.activeMenuId] || []);
checkedId: {
deep: true,
handler(checked) {
this.$refs.menuList.setCheckedKeys(checked[this.activeMenuId] || []);
this.$nextTick(this.checkSelectAll);
},
},
menuList: {
immediate: true,
......
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