修改登录后跳转到首页

This commit is contained in:
daihh
2022-09-30 09:59:14 +08:00
parent 01105a425e
commit e01bc8b0d0
4 changed files with 80 additions and 37 deletions

View File

@@ -108,7 +108,7 @@
this.$store.dispatch("portal/SetLoginRememberMe", rememberMeOjb)
}
//console.log(this.redirect,'this.redirect');
this.$router.push({ path: this.redirect || "/study/index" }).catch(()=>{
this.$router.push({ path: this.redirect || "/index" }).catch(()=>{
$this.loading = false;
});
}else{