fix: 修复Filter数据在页面销毁时未重置问题

This commit is contained in:
Xu Zhimeng 2023-10-27 14:48:32 +08:00
parent a62efa494f
commit 5125c5bf64

View File

@ -257,6 +257,7 @@ import { Circle } from 'ol/geom'
import { fromLonLat } from 'ol/proj'
import Feature from 'ol/Feature'
import { Fill, Stroke, Style } from 'ol/style'
import { cloneDeep } from 'lodash'
// Filter
const filterList = [
@ -394,8 +395,8 @@ export default {
checkedKeys: [], //
filterList, //
dataQualityList, //
filterList: cloneDeep(filterList), //
dataQualityList: cloneDeep(dataQualityList), //
radius: 5000, //
dataSource: [], // Infomation Radius