前端views/login/index.vue中handleLogin()方法修改
this.$router.push({ path: this.redirect || '/' })为this.$router.push({ path: '/' })
如图所示
前端views/login/index.vue中handleLogin()方法修改
this.$router.push({ path: this.redirect || '/' })为this.$router.push({ path: '/' })
如图所示