fix: 修复情报页切换tab时,面包屑导航栏没有随之切换路由的问题

This commit is contained in:
刘洪洪
2024-03-06 20:23:23 +08:00
parent d82e700d55
commit bed28288cf
3 changed files with 34 additions and 3 deletions

View File

@@ -1373,6 +1373,7 @@ export default {
watch: {
async activeTab (n) {
this.initFlag = true
this.$store.state.headerMenuByTab = n
if (n === 'traceTracking') {
// 切换到轨迹追踪tab时先移除地图上已有的图层和事件绑定、人型图标。基站予以保留
this.unbindHexagonEvents()