|
|
@@ -106,9 +106,7 @@ export default {
|
|
|
this.loginFailedCount = 0;
|
|
|
sessionStorage.removeItem("loginFailedCount");
|
|
|
localStorage.setItem("token", data.token);
|
|
|
- setTimeout(() => {
|
|
|
- this.$router.push('/transition').catch(() => {});
|
|
|
- }, 300);
|
|
|
+ this.$router.push('/main').catch(() => {});
|
|
|
} catch (e) {
|
|
|
this.hint = e.message || "登录失败";
|
|
|
this.loginFailedCount++;
|