Browse Source

Merge branch 'dev' of http://39.106.8.246:3003/yunxing/wanda-bm-guide-h5 into dev

jxing 4 years ago
parent
commit
95407c30ba
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/router/index.ts

+ 3 - 1
src/router/index.ts

@@ -28,7 +28,9 @@ const routes: Array<RouteConfig> = [
         beforeEnter(to, from, next) {
             if (to.query.assetid) {
                 let assetid = to.query.assetid
-                next({ name: 'AssetDetail', query: { assetid } })
+                let query = { assetid, first: true }
+                // @ts-ignore
+                next({ name: 'AssetDetail', query })
             } else {
                 next()
             }