@ -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;
@ -188,7 +190,6 @@
return data;
};
console.log(deep(list));
return menuState.form.id ? deep(list) : list;
});
const state = reactive({