fix: 权限

feature/permission-0723-ch
ch 2 years ago
parent d68a72a699
commit 5077a1c7a8

@ -177,7 +177,9 @@
for (let item of data) {
if (item.id === menuState.form.id) {
item.disabled = true;
if (item.menuChild) {
item.menuChild = deep(item.menuChild, true);
}
break;
}
if (item.menuChild) {
@ -188,7 +190,6 @@
return data;
};
console.log(deep(list));
return menuState.form.id ? deep(list) : list;
});
const state = reactive({

Loading…
Cancel
Save