ruoyi-ui/src/views/login.vue
@@ -366,7 +366,7 @@ Cookies.remove("password"); Cookies.remove('rememberMe'); } alert(this.loginForm.nickName) // alert(this.loginForm.nickName) this.$store.dispatch("Login", this.loginForm).then(() => { this.$router.push({ path: this.redirect || "/" }).catch(()=>{}); }).catch(() => {