perf: 优化新地图组件

This commit is contained in:
奔跑的面条
2022-09-25 17:48:51 +08:00
parent 31450e0eac
commit 42e9e5edce
19 changed files with 254 additions and 53651 deletions
+6
View File
@@ -14,6 +14,7 @@ export const scrollBoardUrl = '/mock/scrollBoard'
export const radarUrl = '/mock/radarData'
export const heatMapUrl = '/mock/heatMapData'
export const scatterBasicUrl = '/mock/scatterBasic'
export const mapUrl = '/mock/map'
const mockObject: MockMethod[] = [
{
@@ -73,6 +74,11 @@ const mockObject: MockMethod[] = [
method: RequestHttpEnum.GET,
response: () => test.fetchScatterBasic
},
{
url: mapUrl,
method: RequestHttpEnum.GET,
response: () => test.fetchMap
},
]
export default mockObject