Commit 3e5e0a0b by caoyanzhi

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

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