Commit 3ce77c8f by Mr. Lan

fix: 页面无故跳转404

parent d42bbf05
Showing with 1 additions and 1 deletions
......@@ -228,7 +228,7 @@ export default {
this.$store.dispatch('user/login', this.loginForm)
.then(() => {
// this.$router.push({ path: this.redirect || '/', query: this.otherQuery })
this.$router.push({ path: '/', query: this.otherQuery })
this.$router.push({ path: '/' })
this.loading = false
})
.catch(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment