mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
perf: 新增单数据mock接口,优化漏斗图展示
This commit is contained in:
@@ -1,4 +1,39 @@
|
||||
export default {
|
||||
// 单图表
|
||||
fetchMockSingleData: {
|
||||
code: 0,
|
||||
status: 200,
|
||||
msg: '请求成功',
|
||||
data: {
|
||||
dimensions: ['product', 'dataOne'],
|
||||
source: [
|
||||
{
|
||||
product: '@name',
|
||||
'dataOne|0-900': 3,
|
||||
},
|
||||
{
|
||||
product: '@name',
|
||||
'dataOne|0-900': 3,
|
||||
},
|
||||
{
|
||||
product: '@name',
|
||||
'dataOne|0-900': 3,
|
||||
},
|
||||
{
|
||||
product: '@name',
|
||||
'dataOne|0-900': 3,
|
||||
},
|
||||
{
|
||||
product: '@name',
|
||||
'dataOne|0-900': 3,
|
||||
},
|
||||
{
|
||||
product: '@name',
|
||||
'dataOne|0-900': 3,
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
// 图表
|
||||
fetchMockData: {
|
||||
code: 0,
|
||||
|
||||
Reference in New Issue
Block a user