Commit d49ac2e0f8f1884bbe968aeeaebd06a8b0e1b1da
1 parent
c23c8ae2
成功登陆不恢复按钮,防止多次点击
Showing
1 changed file
with
0 additions
and
1 deletions
ruoyi-ui/src/views/login.vue
| @@ -129,7 +129,6 @@ export default { | @@ -129,7 +129,6 @@ export default { | ||
| 129 | this.$store | 129 | this.$store |
| 130 | .dispatch("Login", this.loginForm) | 130 | .dispatch("Login", this.loginForm) |
| 131 | .then(() => { | 131 | .then(() => { |
| 132 | - this.loading = false; | ||
| 133 | this.$router.push({ path: this.redirect || "/" }); | 132 | this.$router.push({ path: this.redirect || "/" }); |
| 134 | }) | 133 | }) |
| 135 | .catch(() => { | 134 | .catch(() => { |