xinfeng 5 år sedan
förälder
incheckning
ad2f7e6e15
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      plugins/router.js

+ 3 - 3
plugins/router.js

@@ -25,9 +25,9 @@ export default ({ app, store }) => {
         path: '/d/:tid',
         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(()=>{})
     }