This commit is contained in:
clay
2022-09-06 22:28:24 +08:00
parent 25e94c1117
commit 9d78b43963
7 changed files with 71 additions and 34 deletions

View File

@@ -3,7 +3,11 @@
<script>
export default {
created() {
this.$router.push("/home?lang="+sessionStorage.getItem("lang"));
let path = this.$route.path;
console.log(path)
if (!path.indexOf("attached")||path==="/"){
this.$router.push("/home?lang="+sessionStorage.getItem("lang"));
}
}
}
</script>