代码提交
This commit is contained in:
parent
a2b899cfc3
commit
6661eb2961
|
@ -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'})
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue