fix(仪表板): 修复echarts明细表无法导出问题
This commit is contained in:
parent
93d0ebf62d
commit
f993c2b22c
@ -472,7 +472,7 @@ export function exportExcelDownload(chart, snapshot, width, height, loadingWrapp
|
||||
if (chart.type === 'race-bar' && !chart.data?.data?.length) {
|
||||
callBack()
|
||||
return
|
||||
} else if ((chart.render === 'echarts' && chart.type !== 'race-bar' || ['text', 'label'].includes(chart.type)) && !(chart.data?.series?.length && chart.data?.series[0].data?.length)) {
|
||||
} else if ((chart.render === 'echarts' && chart.type !== 'race-bar' && chart.type.indexOf('table') === -1 || ['text', 'label'].includes(chart.type)) && !(chart.data?.series?.length && chart.data?.series[0].data?.length)) {
|
||||
callBack()
|
||||
return
|
||||
} else if ((chart.render === 'antv' && !['text', 'label', 'flow-map'].includes(chart.type)) && !chart.data?.data?.length) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user