fix: bug菜单管理按钮样式
This commit is contained in:
parent
e17ead51c3
commit
d7198a7ad1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue