From 9dde8a9eb0f6f6750ebec39c22c1be56fe7e79aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zhukeda-=E6=9C=B1=E7=A7=91=E8=BE=BE?= Date: Tue, 16 Jul 2024 18:53:35 +0800 Subject: [PATCH 001/126] =?UTF-8?q?feat:=20=E8=B5=84=E6=BA=90=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E4=BB=A3=E7=A0=81=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E9=9D=99=E6=80=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/resource/setting/import.vue | 228 +++++++++++++++++- 1 file changed, 216 insertions(+), 12 deletions(-) diff --git a/src/dashboard-front/src/views/resource/setting/import.vue b/src/dashboard-front/src/views/resource/setting/import.vue index a4ad27bca..0ced6d04a 100644 --- a/src/dashboard-front/src/views/resource/setting/import.vue +++ b/src/dashboard-front/src/views/resource/setting/import.vue @@ -40,9 +40,107 @@ - +
- + + + +
@@ -112,7 +210,9 @@ > {{ curView === 'import' ? t('下一步') : t('上一步') }} - + { return; } // 读取文件内容并赋值给编辑器 - getStrFromFile(file).then((res: any) => { - editorText.value = res; - setEditValue(); - }); + getStrFromFile(file) + .then((res: any) => { + editorText.value = res; + setEditValue(); + }); }; // 下一步需要检查数据 const handleCheckData = async () => { @@ -301,23 +403,125 @@ const handleHiddenExample = () => { }; diff --git a/src/dashboard-front/src/views/resource/setting/import.vue b/src/dashboard-front/src/views/resource/setting/import.vue index 869584f9a..940e9772f 100644 --- a/src/dashboard-front/src/views/resource/setting/import.vue +++ b/src/dashboard-front/src/views/resource/setting/import.vue @@ -4,10 +4,10 @@
@@ -50,27 +50,27 @@ 代码编辑器
- +
@@ -376,14 +364,14 @@ :label="t('认证方式')" > -->
-