Browse Source

提交调整跳转

wenmenghao 10 tháng trước cách đây
mục cha
commit
a99d693674
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      jydocs-pc/src/views/UserCollections.vue

+ 5 - 1
jydocs-pc/src/views/UserCollections.vue

@@ -130,7 +130,11 @@ export default {
       return subInfoArr
     },
     goCollect () {
-      this.$router.push('/')
+      // this.$router.push('/')
+      const link = this.$router.resolve({
+        path: '/'
+      })
+      location.href = link.href
     }
   }
 }