Browse Source

合伙人-去除路由不存在时重定向

panyong 4 years ago
parent
commit
6d6519cd78
1 changed files with 4 additions and 4 deletions
  1. 4 4
      htmldev/loan/src/router/index.js

+ 4 - 4
htmldev/loan/src/router/index.js

@@ -4,10 +4,10 @@ import VueRouter from 'vue-router'
 Vue.use(VueRouter)
 
 const routes = [
-  {
-    path: '*',
-    redirect: '/404'
-  },
+  // {
+  //   path: '*',
+  //   redirect: '/404'
+  // },
   {
     path: '/loan',
     redirect: '/'