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