代码提交

This commit is contained in:
lixiaobang 2022-11-10 09:43:01 +08:00
parent a2b899cfc3
commit 6661eb2961
2 changed files with 2031 additions and 2 deletions

View File

@ -52,8 +52,8 @@ export default {
let that = this; let that = this;
this.routerActive = index this.routerActive = index
if (this.routerActive == 0) { if (this.routerActive == 0) {
if (this.$route.name != 'home') { if (this.$route.name != 'index') {
that.$router.push({name:'home'}) that.$router.push({name:'index'})
} }
}else if (this.routerActive == 3) { }else if (this.routerActive == 3) {
that.$router.push({name:'stationBuilding'}) that.$router.push({name:'stationBuilding'})

2029
src/views/Home.vue Normal file

File diff suppressed because it is too large Load Diff