chore: update

This commit is contained in:
xiaoxian521 2022-10-25 17:36:35 +08:00
parent e4c33a7d22
commit 2bbf04b191

View File

@ -157,6 +157,7 @@ function initRouter() {
getAsyncRoutes().then(({ data }) => {
if (data.length === 0) {
usePermissionStoreHook().handleWholeMenus(data);
resolve(router);
} else {
formatFlatteningRoutes(addAsyncRoutes(data)).map(
(v: RouteRecordRaw) => {