处理右侧操作栏隐藏后,地图为空的问题
This commit is contained in:
parent
ec166fb43c
commit
5b6428bac0
|
@ -20,7 +20,7 @@
|
||||||
<img
|
<img
|
||||||
v-if="active == 1 && showPane"
|
v-if="active == 1 && showPane"
|
||||||
src="@/assets/images/station-operation/station-operate-active.png"
|
src="@/assets/images/station-operation/station-operate-active.png"
|
||||||
@click="showPane = !showPane"
|
@click="handleHide"
|
||||||
/>
|
/>
|
||||||
<img v-else src="@/assets/images/station-operation/station-operate.png" @click="onPaneChange(1)" />
|
<img v-else src="@/assets/images/station-operation/station-operate.png" @click="onPaneChange(1)" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -485,6 +485,12 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
handleHide() {
|
||||||
|
this.showPane = !this.showPane
|
||||||
|
this.emitDrawCircle(1)
|
||||||
|
this.emitFilter()
|
||||||
|
},
|
||||||
|
|
||||||
// 根据 Filter 筛选Marker
|
// 根据 Filter 筛选Marker
|
||||||
emitFilter() {
|
emitFilter() {
|
||||||
const filterType = this.filterList.filter(item => item.checked).map(item => item.type)
|
const filterType = this.filterList.filter(item => item.checked).map(item => item.type)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user