浏览代码

关闭404

lifanagju_citu 4 月之前
父节点
当前提交
785664e04d
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/router/modules/remaining.js

+ 5 - 5
src/router/modules/remaining.js

@@ -132,11 +132,11 @@ const remainingRouter = [
       title: '404'
     }
   },
-  {
-    path: '/:path(.*)*',
-    redirect: '/404',
-    name: '404PageRedirect',
-  },
+  // {
+  //   path: '/:path(.*)*',
+  //   redirect: '/404',
+  //   name: '404PageRedirect',
+  // },
   // {
   //   path: '/:catchAll(.*)',
   //   redirect: '/404'