test:增加测试数据

This commit is contained in:
Free-sss 2025-08-26 16:05:36 +08:00
parent bbe480932b
commit a67c8d0f55
3 changed files with 6 additions and 5 deletions

View File

@ -141,5 +141,4 @@ export default class Config extends PublicConfigClass implements CreateComponent
public attr = { ...chartInitConfig, w: 1300, h: 900, zIndex: -1 }
public chartConfig = cloneDeep(MapConfig)
public option = echartOptionProfixHandle(option, includes)
// public option = option
}

View File

@ -1,7 +1,10 @@
{
"barOptions": [
{"location": "湖北省", "items":[{"tall":60},{"tall":40},{"tall":20},{"tall":10}]},
{"location": "湖南省", "items":[{"tall":60},{"tall":40},{"tall":20},{"tall":10}]},
{"location": "北京市", "items":[{"tall":60},{"tall":40},{"tall":20},{"tall":10}]}
{"location": "河北省.唐山市", "items":[{"tall":100}]},
{"location": "辽宁省.大连市", "items":[{"tall":100}]},
{"location": "江苏省.常州市", "items":[{"tall":200}]},
{"location": "江苏省.南京市", "items":[{"tall":200}]},
{"location": "吉林省.长春市", "items":[{"tall":100}]}
]
}

View File

@ -1,5 +1,4 @@
import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const MapConfig: ConfigType = {
key: 'Map',