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,9 +353,9 @@ useChartDataFetch(props.chartConfig, useChartEditStore, async (resData: any[], r | ||
353 | attribute.forEach((item: any) => { | 353 | attribute.forEach((item: any) => { |
354 | if (item.identifier === curr[0]) { | 354 | if (item.identifier === curr[0]) { |
355 | curr[0] = item.name | 355 | curr[0] = item.name |
356 | + acc.push(curr) | ||
356 | } | 357 | } |
357 | }) | 358 | }) |
358 | - acc.push(curr) | ||
359 | return [...acc] | 359 | return [...acc] |
360 | }, []) | 360 | }, []) |
361 | props.chartConfig.option.dataset = resDataFormat | 361 | props.chartConfig.option.dataset = resDataFormat |