Browse Source

菜单bug’

git commit -m 菜单bug’
master
j1ack 2 years ago
parent
commit
c384fa0a82
  1. 2
      src/views/login.vue

2
src/views/login.vue

@ -181,7 +181,7 @@ export default {
Cookies.set('rememberMe', this.loginForm.rememberMe, { expires: 30 });
this.$store.dispatch("Login", this.loginForm).then(() => {
this.$router.push({ path: this.redirect}).catch(() => { });
this.$router.push({ path: this.redirect || "/" }).catch(() => { });
}).catch(() => {
// if (this.captchaEnabled) {
// this.loading = false;

Loading…
Cancel
Save