Browse Source

提交调整跳转

wenmenghao 10 months ago
parent
commit
a99d693674
1 changed files with 5 additions and 1 deletions
  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
     }
   }
 }