fix: 切换回台站页面时,已过滤掉的台站又出来了的问题
This commit is contained in:
parent
d71d2334ee
commit
99ddd642e0
|
@ -253,8 +253,12 @@ export default {
|
||||||
})
|
})
|
||||||
this.originalDataList = res // 保留初始版本
|
this.originalDataList = res // 保留初始版本
|
||||||
this.dataList = cloneDeep(res)
|
this.dataList = cloneDeep(res)
|
||||||
|
this.markerList = cloneDeep(res).filter((stationInfo) => {
|
||||||
this.markerList = cloneDeep(res).filter((stationInfo) => stationInfo.stationType !== MarkerType.NuclearFacility) // 去除核设施
|
return (
|
||||||
|
stationInfo.stationType !== MarkerType.NuclearFacility &&
|
||||||
|
(!this.updataFilterType.length || this.updataFilterType.includes(stationInfo.stationType))
|
||||||
|
)
|
||||||
|
}) // 去除核设施
|
||||||
|
|
||||||
this.markerList_clone = cloneDeep(res)
|
this.markerList_clone = cloneDeep(res)
|
||||||
this.getDataProvisionEfficiency(this.markerList_clone)
|
this.getDataProvisionEfficiency(this.markerList_clone)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user