Эх сурвалжийг харах

Merge branch 'master' into dev

hangb 7 жил өмнө
parent
commit
53f82f8d83

+ 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