|
|
@@ -248,7 +248,7 @@ export default { |
|
|
|
// 发起登陆 |
|
|
|
// console.log("发起登录", this.loginForm); |
|
|
|
this.$store.dispatch(this.loginForm.loginType === "sms" ? "SmsLogin" : "Login", this.loginForm).then(() => { |
|
|
|
this.$router.push({ path: this.redirect || "/" }).catch(() => { |
|
|
|
this.$router.push({ path: "/" }).catch(() => { |
|
|
|
}); |
|
|
|
}).catch(() => { |
|
|
|
this.loading = false; |
|
|
|