mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 21:52:48 +00:00
优化
This commit is contained in:
parent
cf1a0dd90d
commit
8e4992055a
@ -143,12 +143,7 @@ export const useMenuStore = defineStore("menu", function () {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// 动态菜单
|
// 动态菜单
|
||||||
await service.base.comm
|
await service.base.comm.permmenu().then(next);
|
||||||
.permmenu()
|
|
||||||
.then(next)
|
|
||||||
.catch(() => {
|
|
||||||
ElMessage.error("菜单加载异常!");
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user