diff --git a/ui/src/components/PostExportDropdownItem.vue b/ui/src/components/PostExportDropdownItem.vue index c8a3dde..76ac0a3 100644 --- a/ui/src/components/PostExportDropdownItem.vue +++ b/ui/src/components/PostExportDropdownItem.vue @@ -35,12 +35,7 @@ async function onSubmit(data: ExportForm) { const { ContentExporter } = await import('@/class/contentExporter'); try { exporting.value = true; - await ContentExporter.export( - post.post, - data.type, - data.includeImages, - data.imageExportMode - ); + await ContentExporter.export(post.post, data.type, data.includeImages, data.imageExportMode); modal.value?.close(); Toast.success('导出成功'); } catch (error) { @@ -54,19 +49,19 @@ async function onSubmit(data: ExportForm) {