Commit d444e45c6231641136948078b796e4b1c023b026
1 parent
e6073a85
feat(src/packages): 修改设备最新数据轮播表格只显示物模型里定义的属性
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -353,9 +353,9 @@ useChartDataFetch(props.chartConfig, useChartEditStore, async (resData: any[], r |
| 353 | 353 | attribute.forEach((item: any) => { |
| 354 | 354 | if (item.identifier === curr[0]) { |
| 355 | 355 | curr[0] = item.name |
| 356 | + acc.push(curr) | |
| 356 | 357 | } |
| 357 | 358 | }) |
| 358 | - acc.push(curr) | |
| 359 | 359 | return [...acc] |
| 360 | 360 | }, []) |
| 361 | 361 | props.chartConfig.option.dataset = resDataFormat | ... | ... |