feat: 增加修改关注台站后刷新Focus Data功能

This commit is contained in:
Xu Zhimeng 2024-02-20 17:21:33 +08:00
parent f55ca0eb3b
commit 05c64441a7
2 changed files with 5 additions and 1 deletions

View File

@ -697,6 +697,7 @@ export default {
this.$message.success('Save Success')
await this.getDataRecieveSettings()
this.startGetDataReceiveStatusList()
this.$emit('focusStationChange')
} else {
this.$message.error(message)
}

View File

@ -156,6 +156,7 @@
@filterMarker="onFilterMarker"
@drawCircle="onDrawCircle"
@mapSourceChange="handleMapSourceChange"
@focusStationChange="getFollowedStationList"
/>
</Map>
</div>
@ -200,6 +201,9 @@ export default {
clearInterval(this.timer)
this.timer = null
},
activated() {
this.getFollowedStationList()
},
data() {
return {
activeKey: '1',
@ -240,7 +244,6 @@ export default {
},
created() {
this.getStationList()
this.getFollowedStationList()
this.getStationTypeList()
this.getStationTree()
},