处理右侧操作栏隐藏后,地图为空的问题

This commit is contained in:
renpy 2023-08-30 10:12:04 +08:00
parent ec166fb43c
commit 5b6428bac0

View File

@ -20,7 +20,7 @@
<img
v-if="active == 1 && showPane"
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)" />
</div>
@ -485,6 +485,12 @@ export default {
}
},
handleHide() {
this.showPane = !this.showPane
this.emitDrawCircle(1)
this.emitFilter()
},
// Filter Marker
emitFilter() {
const filterType = this.filterList.filter(item => item.checked).map(item => item.type)