Browse Source

Merge branch 'master' into dev

hangb 7 years ago
parent
commit
53f82f8d83
2 changed files with 2 additions and 11 deletions
  1. 1 6
      components/login/Login.vue
  2. 1 5
      components/mobile/loginMobile.vue

+ 1 - 6
components/login/Login.vue

@@ -312,12 +312,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 () {

+ 1 - 5
components/mobile/loginMobile.vue

@@ -73,11 +73,7 @@
         window.location.href = `/reset/forgetPasswordValidationAccount${this.$store.state.option.fullPath}`
       },
       jump () {
-        if (this.appId === 'mall') {
-          window.location.href = `/register/personalRegistration${this.$store.state.option.fullPath}`
-        } else {
-          window.location.href = `/register/enterpriseRegistration${this.$store.state.option.fullPath}`
-        }
+        window.location.href = `/register/enterpriseRegistration${this.$store.state.option.fullPath}`
       },
       getUrl () {
         this.appId = this.$store.state.option.appId