src/views/h5/login/index.vue
@@ -54,10 +54,12 @@ } }, created() { tokenUtils.clearTokens() this.loginType = isWeixin ? 'weixin' : 'mobilePhone' if (isWeixin) { this.loginType = 'weixin' localStorage.removeItem('weChatRedirectCount') this.$router.replace({ path: '/h5/redirect' }) } }, @@ -92,7 +94,7 @@ const data = { captchaVerification: '', mobile: this.form.mobile, scene: 21, scene: 31, } this.sendCodeLoading = true this.$axios.post('/system/auth/send-sms-code', data).then(res => {