From 27477e39dee38bdf081fd751c898c00b8868e47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Tue, 28 May 2024 17:28:17 +0800 Subject: [PATCH] =?UTF-8?q?Demo=EF=BC=9A=E5=AF=BC=E5=85=A5=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E5=A4=9A=E4=B8=AA=E7=94=BB=E5=B8=83=E7=9A=84xmind?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=94=AF=E6=8C=81=E9=80=89=E6=8B=A9=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E7=9A=84=E7=94=BB=E5=B8=83=E8=BF=9B=E8=A1=8C=E5=AF=BC?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/lang/en_us.js | 3 +- web/src/lang/zh_cn.js | 3 +- web/src/pages/Edit/components/Import.vue | 165 +++++++++++++---------- 3 files changed, 101 insertions(+), 70 deletions(-) diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 241f4515..fd245f27 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -152,7 +152,8 @@ export default { notSelectTip: 'Please select the file to import', fileContentError: 'The file content is incorrect', importSuccess: 'Import success', - fileParsingFailed: 'File parsing failed' + fileParsingFailed: 'File parsing failed', + xmindCanvasSelectDialogTitle: 'Select the canvas to import' }, navigatorToolbar: { openMiniMap: 'Open mini map', diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index 965d4601..e478aa1c 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -150,7 +150,8 @@ export default { notSelectTip: '请选择要导入的文件', fileContentError: '文件内容有误', importSuccess: '导入成功', - fileParsingFailed: '文件解析失败' + fileParsingFailed: '文件解析失败', + xmindCanvasSelectDialogTitle: '选择要导入的画布' }, navigatorToolbar: { openMiniMap: '开启小地图', diff --git a/web/src/pages/Edit/components/Import.vue b/web/src/pages/Edit/components/Import.vue index 2d5d838d..a035bba6 100644 --- a/web/src/pages/Edit/components/Import.vue +++ b/web/src/pages/Edit/components/Import.vue @@ -1,36 +1,56 @@ - - + - {{ - $t('import.selectFile') - }} - - {{ $t('import.supportFile') }} - - - - {{ $t('dialog.cancel') }} - {{ - $t('dialog.confirm') - }} - - + + {{ + $t('import.selectFile') + }} + + {{ $t('import.supportFile') }} + + + + {{ $t('dialog.cancel') }} + {{ + $t('dialog.confirm') + }} + + + + + {{ + item.title + }} + + + {{ + $t('dialog.confirm') + }} + + +