From 869d0c73bdd39c0e7458a03f80d54345f270828e Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Fri, 31 May 2024 18:07:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9C=8D=E5=8A=A1=E5=99=A8=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E5=80=BC=20(#5242?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/database/mysql/index.vue | 4 +++- frontend/src/views/database/redis/index.vue | 3 ++- frontend/src/views/database/redis/setting/index.vue | 8 ++++---- frontend/src/views/setting/panel/proxy/index.vue | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/database/mysql/index.vue b/frontend/src/views/database/mysql/index.vue index 7651b2d6d..44d78e0fd 100644 --- a/frontend/src/views/database/mysql/index.vue +++ b/frontend/src/views/database/mysql/index.vue @@ -215,7 +215,9 @@ v-if="mysqlStatus != 'Running' && currentDB && !loading && maskShow && currentDB?.from === 'local'" class="mask-prompt" > - {{ $t('commons.service.serviceNotStarted', ['MySQL']) }} + + {{ $t('commons.service.serviceNotStarted', [currentDB.type === 'mysql' ? 'MySQL' : 'Mariadb']) }} +
diff --git a/frontend/src/views/database/redis/index.vue b/frontend/src/views/database/redis/index.vue index fb5ae7d59..3ea238010 100644 --- a/frontend/src/views/database/redis/index.vue +++ b/frontend/src/views/database/redis/index.vue @@ -363,7 +363,8 @@ const loadQuickCmd = async () => { const quickInput = (val: any) => { if (val) { - terminalRef.value?.sendMsg(val + '\n'); + terminalRef.value?.sendMsg(val); + quickCmd.value = ''; } }; diff --git a/frontend/src/views/database/redis/setting/index.vue b/frontend/src/views/database/redis/setting/index.vue index 8e0525341..de9172f01 100644 --- a/frontend/src/views/database/redis/setting/index.vue +++ b/frontend/src/views/database/redis/setting/index.vue @@ -1,6 +1,6 @@