mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
perf: 优化数据
This commit is contained in:
parent
9a8899ae40
commit
0fc7bde348
@ -4,7 +4,7 @@ export const includes = ['legend', 'xAxis', 'yAxis', 'grid']
|
||||
|
||||
const seriesHandle = (color: string[]) => {
|
||||
const numHandle = (numsi: number, i: number) => parseInt(`${numsi * Math.random()}`, 10) * 2
|
||||
const nums = [60, 51, 200, 334, 366, 456, 223]
|
||||
const nums = [260, 251, 200, 334, 366, 256, 253]
|
||||
|
||||
return color.map((item, index) => ({
|
||||
name: `data${index + 1}`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user