|
|
|
@ -177,7 +177,9 @@
|
|
|
|
|
for (let item of data) {
|
|
|
|
|
if (item.id === menuState.form.id) {
|
|
|
|
|
item.disabled = true;
|
|
|
|
|
item.menuChild = deep(item.menuChild, 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({
|
|
|
|
|