diff --git a/src/router/index.js b/src/router/index.js index 54c903b5..3555a8e9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -421,9 +421,9 @@ function fnAddDynamicMenuRoutes(menuList = [], routes = []) { }, { path: "*", - redirect: { - name: "404", - }, + // redirect: { + // name: "404", + // }, }, ]); window.SITE_CONFIG["dynamicMenuRoutes"] = routes; @@ -474,9 +474,9 @@ function fnAddDynamicMenuRoutes2(menuList = [], routes = []) { }, { path: "*", - redirect: { - name: "404", - }, + // redirect: { + // name: "404", + // }, }, ]); window.SITE_CONFIG["dynamicMenuRoutesShuju"] = routes;