成功登陆不恢复按钮,防止多次点击

This commit is contained in:
RuoYi 2020-02-08 15:31:29 +08:00
parent c23c8ae248
commit d49ac2e0f8

View File

@ -129,7 +129,6 @@ export default {
this.$store this.$store
.dispatch("Login", this.loginForm) .dispatch("Login", this.loginForm)
.then(() => { .then(() => {
this.loading = false;
this.$router.push({ path: this.redirect || "/" }); this.$router.push({ path: this.redirect || "/" });
}) })
.catch(() => { .catch(() => {