mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
Merge pull request #13781 from dataease/pr@dev-v2@fix_export-excel
fix(图表): 修复水波图导出excel报错问题
This commit is contained in:
@@ -329,13 +329,14 @@ const downloadViewImage = () => {
|
||||
|
||||
const downloadViewDetails = (downloadType = 'view') => {
|
||||
const viewDataInfo = dvMainStore.getViewDataDetails(viewInfo.value.id)
|
||||
const viewInfoSource = dvMainStore.getViewDetails(viewInfo.value.id)
|
||||
if (!viewDataInfo) {
|
||||
ElMessage.error('当前无字段,无法导出')
|
||||
return
|
||||
}
|
||||
const chartExtRequest = dvMainStore.getLastViewRequestInfo(viewInfo.value.id)
|
||||
const chart = {
|
||||
...viewInfo.value,
|
||||
...viewInfoSource,
|
||||
chartExtRequest,
|
||||
data: viewDataInfo,
|
||||
type: sourceViewType.value,
|
||||
|
||||
Reference in New Issue
Block a user