Commit 1a5d33bf26c92ed2d72ca15a56be8dc076ccede1
Merge branch 'local_dev_branch_by_ft' into 'main_dev'
fix(src/packages): 修改设备最新数据轮播表格只显示物模型里定义的属性 See merge request yunteng/thingskit-view!141
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 | ... | ... |