Browse Source

商城注册跳转企业注册

hangb 7 years ago
parent
commit
9582f5e7ac
1 changed files with 1 additions and 6 deletions
  1. 1 6
      components/login/Login.vue

+ 1 - 6
components/login/Login.vue

@@ -342,12 +342,7 @@
       },
 //      去注册
       goRegister () {
-        if (this.appId === 'mall') {
-          var registerurl = `/register/personalRegistration?${this.queryLink}`
-        } else {
-          registerurl = `/register/enterpriseRegistration?${this.queryLink}`
-        }
-        document.getElementById('register').href = registerurl
+        document.getElementById('register').href = `/register/enterpriseRegistration?${this.queryLink}`
       },
   //    获取验证码
       getCode () {