From d4419d9ed5ea150bbf168f54e4d422b2d19c2ba4 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 24 Sep 2024 19:01:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai-chat/ParagraphSourceDialog.vue | 2 + .../top-bar/avatar/APIKeyDialog.vue | 8 ++- .../top-bar/avatar/ResetPassword.vue | 7 ++- .../top-bar/avatar/SettingAPIKeyDialog.vue | 52 +++++++++++-------- .../component/APIKeyDialog.vue | 8 ++- .../component/DisplaySettingDialog.vue | 7 ++- .../component/EditAvatarDialog.vue | 2 + .../component/EmbedDialog.vue | 8 +-- .../component/LimitDialog.vue | 2 + .../component/SettingAPIKeyDialog.vue | 22 ++++++-- .../component/AIModeParamSettingDialog.vue | 2 + .../component/AddDatasetDialog.vue | 2 + .../component/CopyApplicationDialog.vue | 2 + .../component/CreateApplicationDialog.vue | 2 + .../component/ParamSettingDialog.vue | 2 + .../dataset/component/CreateDatasetDialog.vue | 9 +++- .../dataset/component/EditParagraphDialog.vue | 2 + .../component/SelectDatasetDialog.vue | 9 +++- ui/src/views/log/component/EditMarkDialog.vue | 9 +++- .../component/SelectDocumentDialog.vue | 8 ++- .../problem/component/RelateProblemDialog.vue | 2 + .../user-manage/component/UserDialog.vue | 2 + .../user-manage/component/UserPwdDialog.vue | 2 + .../reranker-node/ParamSettingDialog.vue | 2 + 24 files changed, 134 insertions(+), 39 deletions(-) diff --git a/ui/src/components/ai-chat/ParagraphSourceDialog.vue b/ui/src/components/ai-chat/ParagraphSourceDialog.vue index 4034c7cac..0f6bcf21d 100644 --- a/ui/src/components/ai-chat/ParagraphSourceDialog.vue +++ b/ui/src/components/ai-chat/ParagraphSourceDialog.vue @@ -6,6 +6,8 @@ destroy-on-close append-to-body align-center + :close-on-click-modal="false" + :close-on-press-escape="false" >
diff --git a/ui/src/layout/components/top-bar/avatar/APIKeyDialog.vue b/ui/src/layout/components/top-bar/avatar/APIKeyDialog.vue index 8febe0e44..39d67970f 100644 --- a/ui/src/layout/components/top-bar/avatar/APIKeyDialog.vue +++ b/ui/src/layout/components/top-bar/avatar/APIKeyDialog.vue @@ -1,5 +1,11 @@