diff --git a/app/pages/export/index.vue b/app/pages/export/index.vue index 00962dd..5077c65 100644 --- a/app/pages/export/index.vue +++ b/app/pages/export/index.vue @@ -163,7 +163,7 @@

导出预览

-
{{ exportCsv }}
+
{{ csvPreview }}
{ + biddingItems.value = [...biddingItemList.value]; + }, }); const applyStartPriceButtonClicked = () => { @@ -325,7 +328,7 @@ function toUnderscore(name: string) { } // Export Preview -const exportCsv = computed(() => { +const csvPreview = computed(() => { return [ ...biddingItems.value.map( (biddingItem) => @@ -337,7 +340,7 @@ const exportCsv = computed(() => { }); const downloadCsv = () => { - const blob = new Blob([exportCsv.value], { type: "text/csv;charset=utf-8;" }); + const blob = new Blob([csvPreview.value], { type: "text/csv;charset=utf-8;" }); const url = URL.createObjectURL(blob); const a = document.createElement("a"); a.href = url;