Browse Source

跳转方式更改

xinfeng 6 years ago
parent
commit
fafb0e88d1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/otherpage/user/collection/index.vue

+ 5 - 1
pages/otherpage/user/collection/index.vue

@@ -254,7 +254,11 @@
 
       jumpToDetail(item) {
         const { url } = item
-        window.open(url, "_blank")
+        if (this.mobile) {
+          location.href = url
+        } else {
+          window.open(url, "_blank")
+        }
       },
 
       delConnectionHandler({ item_id, type }, index) {