mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 增加 mock api,修复预览模式下动态数据更新问题
This commit is contained in:
@@ -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 wordCloudUrl = '/mock/wordCloud'
|
||||
|
||||
const mockObject: MockMethod[] = [
|
||||
{
|
||||
@@ -73,6 +74,11 @@ const mockObject: MockMethod[] = [
|
||||
method: RequestHttpEnum.GET,
|
||||
response: () => test.fetchScatterBasic
|
||||
},
|
||||
{
|
||||
url: wordCloudUrl,
|
||||
method: RequestHttpEnum.GET,
|
||||
response: () => test.fetchWordCloud
|
||||
}
|
||||
]
|
||||
|
||||
export default mockObject
|
||||
|
||||
Reference in New Issue
Block a user