瀏覽代碼

个人信息跳转

hangb 7 年之前
父節點
當前提交
280d2d6b20
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      components/mobile/user/Info.vue

+ 2 - 2
components/mobile/user/Info.vue

@@ -77,9 +77,9 @@
       },
       jumpSet (info) {
         if (info === 'email') {
-          window.location.herf = decodeURIComponent(this.getEmail)
+          window.location.href = decodeURIComponent(this.getEmail)
         } else if (info === 'mobile') {
-          window.location.herf = decodeURIComponent(this.getMobile)
+          window.location.href = decodeURIComponent(this.getMobile)
         }
       }
     }