feat: 增加mock桑基图数据

This commit is contained in:
headmasterZhao
2023-03-30 13:37:07 +08:00
parent 54e0879cce
commit 24dfd91c23
4 changed files with 107 additions and 2 deletions
+7
View File
@@ -19,6 +19,7 @@ export const capsuleUrl = '/mock/capsule'
export const wordCloudUrl = '/mock/wordCloud'
export const treemapUrl = '/mock/treemap'
export const threeEarth01Url = '/mock/threeEarth01Data'
export const sankeyUrl = '/mock/sankey'
const mockObject: MockMethod[] = [
{
@@ -103,6 +104,12 @@ const mockObject: MockMethod[] = [
method: RequestHttpEnum.GET,
response: () => test.threeEarth01Data
},
{
url: sankeyUrl,
method: RequestHttpEnum.GET,
response: () => test.fetchSankey
},
]
export default mockObject