Skip to content

Commit 1c8f132

Browse files
committed
fix(router): 临时修复路由问题
1 parent 2bf25e2 commit 1c8f132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ const routeBase = [
244244
* a base page that does not have permission requirements
245245
* all roles can be accessed
246246
*/
247-
export const constantRoutes = [...routeBase]
247+
export const constantRoutes = [...routeBase, ...asyncRoutes]
248248

249249
const createRouter = () => new Router({
250250
// mode: 'history', // require service support

0 commit comments

Comments
 (0)