xinfeng 5 anos atrás
pai
commit
ad2f7e6e15
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      plugins/router.js

+ 3 - 3
plugins/router.js

@@ -25,9 +25,9 @@ export default ({ app, store }) => {
         path: '/d/:tid',
         path: '/d/:tid',
         component: kaifainCaseDetail.component
         component: kaifainCaseDetail.component
       }
       }
-      app.router.options.routes.unshift(kaifainIndexNow).catch(()=>{})
-      app.router.options.routes.unshift(kaifainDetailNow).catch(()=>{})
-      app.router.options.routes.unshift(kaifainCaseDetailNow).catch(()=>{})
+      app.router.options.routes.unshift(kaifainIndexNow)
+      app.router.options.routes.unshift(kaifainDetailNow)
+      app.router.options.routes.unshift(kaifainCaseDetailNow)
       app.router.matcher.addRoutes([kaifainIndexNow, kaifainDetailNow, kaifainCaseDetailNow]).catch(()=>{})
       app.router.matcher.addRoutes([kaifainIndexNow, kaifainDetailNow, kaifainCaseDetailNow]).catch(()=>{})
     }
     }