Update src/renderer/src/utils/export.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
自由的世界人 2025-07-31 20:03:22 +08:00 committed by GitHub
parent fa65889a80
commit 8963a2f59a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -828,7 +828,7 @@ export const exportMarkdownToSiyuan = async (title: string, content: string) =>
key: 'siyuan-success'
})
} catch (error) {
logger.error('导出到思源笔记失败:', error as Error as Error)
logger.error('导出到思源笔记失败:', error as Error)
window.message.error({
content: i18n.t('message.error.siyuan.export') + (error instanceof Error ? `: ${error.message}` : ''),
key: 'siyuan-error'