This commit is contained in:
X1627315083
2024-01-27 11:50:47 +08:00
parent 9acd14d2b3
commit 9ee1c2a875
2 changed files with 13 additions and 1 deletions

View File

@@ -523,7 +523,13 @@ export default defineComponent({
//跳转到首页
turnToHomePage() {
this.getLang()
this.$router.push("/home");
// this.$router.push("/home");
// console.log(window.location.search.substring(1));
if(window.location.search.substring(1) == 'oldHis'){
this.$router.push("/oldHistory");
}else{
this.$router.push("/home");
}
},
//获取当前语言
getLang(){