Xiao_123 5 bulan lalu
induk
melakukan
5a717d2f09
1 mengubah file dengan 12 tambahan dan 12 penghapusan
  1. 12 12
      src/router/modules/remaining.js

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

@@ -124,18 +124,18 @@ const remainingRouter = [
       }
     ]
   },
-  {
-    path: '/404',
-    name: '404Page',
-    component: () => import('@/views/404/index.vue'),
-    meta: {
-      title: '404'
-    }
-  },
-  {
-    path: '/:catchAll(.*)',
-    redirect: '/404'
-  }
+  // {
+  //   path: '/404',
+  //   name: '404Page',
+  //   component: () => import('@/views/404/index.vue'),
+  //   meta: {
+  //     title: '404'
+  //   }
+  // },
+  // {
+  //   path: '/:catchAll(.*)',
+  //   redirect: '/404'
+  // }
 ]
 setLoginType(remainingRouter, 'personalCommon') // 暂定:登录企业端不能访问personalCommon路由
 setLoginType(common, 'common') // common 没有身份,任何情况都能访问