diff --git a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue
index 83aebe4037..ba1f3095c1 100644
--- a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue
+++ b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue
@@ -8,7 +8,7 @@
trigger="click"
>
-
+
= {
render: 'antv',
type: 'table-info',
@@ -163,6 +164,7 @@ const pixelOptions = [
}
]
const dialogInit = (canvasStyle, view, item, opt) => {
+ sourceViewType.value = view.type
optType.value = opt
dialogShow.value = true
viewInfo.value = deepCopy(view) as DeepPartial
@@ -191,7 +193,12 @@ const downloadViewImage = () => {
const downloadViewDetails = () => {
const viewDataInfo = dvMainStore.getViewDataDetails(viewInfo.value.id)
const chartExtRequest = dvMainStore.getLastViewRequestInfo(viewInfo.value.id)
- const chart = { ...viewInfo.value, chartExtRequest, data: viewDataInfo }
+ const chart = {
+ ...viewInfo.value,
+ chartExtRequest,
+ data: viewDataInfo,
+ type: sourceViewType.value
+ }
exportLoading.value = true
exportExcelDownload(chart, () => {
exportLoading.value = false