zhengyiming
6 天以前 88695d37e54caa2cbc8a42a53261e9cf86d08181
src/store/modules/permission.ts
@@ -33,7 +33,7 @@
          const res = await baseModuleServices.getCurrentUserModuleList({
            showLoading: false,
          });
          const accessedRoutes = ascending(addAsyncRoutes(formatModuleList(res, null))); // createAccessedRoutes(userMenuList, userInfo)
          const accessedRoutes = ascending(addAsyncRoutes(formatModuleList([], null))); // createAccessedRoutes(userMenuList, userInfo)
          //@ts-ignore
          accessedRoutes.push({ path: '/:pathMatch(.*)*', redirect: '/404', hidden: true });