|
|
@@ -25,10 +25,14 @@ export default ({ app, store }) => {
|
|
|
path: '/d/:tid',
|
|
|
component: kaifainCaseDetail.component
|
|
|
}
|
|
|
- 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(()=>{})
|
|
|
+ try {
|
|
|
+ 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 (e) {
|
|
|
+ console.log(e)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (isJishuin) {
|