fix: bug菜单管理按钮样式

This commit is contained in:
leiqiaochu 2023-03-31 16:16:18 +08:00
parent e17ead51c3
commit d7198a7ad1
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,6 @@ const permission = reactive({
const newProp = props.value.filter(
(item) => item.permission !== row.id,
);
if (newValue.length === row.options.length) {
row.checkAll = true;
row.indeterminate = false;
@ -146,6 +145,8 @@ const permission = reactive({
permission: row.id,
actions: newValue,
});
}else{
row.indeterminate = false
}
emits('update:value', newProp);