我需要生成好的数组
时间: 2023-09-30 16:09:42 浏览: 48
好的,根据您之前的要求,这是一个包含从2号到31号的数据的数组:
```
[
{ key: "name", keyName: "设备名称" },
{ key: "box", keyName: "配电柜" },
{ key: "oneDay", keyName: "1号", width: "100" },
{ key: "day2", keyName: "2号", width: "100" },
{ key: "day3", keyName: "3号", width: "100" },
{ key: "day4", keyName: "4号", width: "100" },
{ key: "day5", keyName: "5号", width: "100" },
{ key: "day6", keyName: "6号", width: "100" },
{ key: "day7", keyName: "7号", width: "100" },
{ key: "day8", keyName: "8号", width: "100" },
{ key: "day9", keyName: "9号", width: "100" },
{ key: "day10", keyName: "10号", width: "100" },
{ key: "day11", keyName: "11号", width: "100" },
{ key: "day12", keyName: "12号", width: "100" },
{ key: "day13", keyName: "13号", width: "100" },
{ key: "day14", keyName: "14号", width: "100" },
{ key: "day15", keyName: "15号", width: "100" },
{ key: "day16", keyName: "16号", width: "100" },
{ key: "day17", keyName: "17号", width: "100" },
{ key: "day18", keyName: "18号", width: "100" },
{ key: "day19", keyName: "19号", width: "100" },
{ key: "day20", keyName: "20号", width: "100" },
{ key: "day21", keyName: "21号", width: "100" },
{ key: "day22", keyName: "22号", width: "100" },
{ key: "day23", keyName: "23号", width: "100" },
{ key: "day24", keyName: "24号", width: "100" },
{ key: "day25", keyName: "25号", width: "100" },
{ key: "day26", keyName: "26号", width: "100" },
{ key: "day27", keyName: "27号", width: "100" },
{ key: "day28", keyName: "28号", width: "100" },
{ key: "day29", keyName: "29号", width: "100" },
{ key: "day30", keyName: "30号", width: "100" },
{ key: "day31", keyName: "31号", width: "100" }
]
```
您可以直接将该数组复制到您的代码中使用。
阅读全文