Commit 1bbd71df by heshihao

feat: 修改界面跳转

parent d9c60622
......@@ -185,8 +185,8 @@ export default {
}
.portrait_main {
position: relative;
margin: 0 0 0 30px;
width: calc(100% - 30px);
// margin: 0 0 0 30px;
width: calc(100%);
height: 100%;
background: #fff;
}
......
......@@ -337,10 +337,7 @@ export default {
},
goTrack() {
this.$router.push({
name: "track",
query: {
district: this.district == "晋城市" ? "" : this.district,
},
name: "analyse",
});
},
initChartMap() {
......
......@@ -71,6 +71,11 @@ export default {
this.activeIndex = this.$route.name;
}
},
watch: {
$route() {
this.activeIndex = this.$route.name;
},
},
methods: {
handleSelect(key) {
this.activeIndex = key;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment