From aeb0549a9a01feea2b853ab8227d66ca3080768b Mon Sep 17 00:00:00 2001 From: igophper <34326532+igophper@users.noreply.github.com> Date: Wed, 17 Jan 2024 10:14:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3Redis=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=AE=E6=94=B9=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#3627)=20(#3629)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs #3627 --- .../src/views/database/redis/setting/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/database/redis/setting/index.vue b/frontend/src/views/database/redis/setting/index.vue index 6bef50b1d..c84a170c0 100644 --- a/frontend/src/views/database/redis/setting/index.vue +++ b/frontend/src/views/database/redis/setting/index.vue @@ -90,7 +90,7 @@ {{ $t('database.maxmemoryHelper') }} - + {{ $t('commons.button.save') }} @@ -119,9 +119,9 @@ - - - + + + @@ -260,7 +260,7 @@ const onChangePort = async (formEl: FormInstance | undefined) => { }; const confirmFormRef = ref(); -const onSubmtiForm = async (formEl: FormInstance | undefined) => { +const onSubmitForm = async (formEl: FormInstance | undefined) => { if (!formEl) return; formEl.validate(async (valid) => { if (!valid) return; @@ -272,7 +272,7 @@ const onSubmtiForm = async (formEl: FormInstance | undefined) => { confirmFormRef.value!.acceptParams(params); }); }; -const submtiForm = async () => { +const submitForm = async () => { let param = { timeout: form.timeout + '', maxclients: form.maxclients + '', @@ -311,10 +311,10 @@ const onSaveFile = async () => { }; confirmDialogRef.value!.acceptParams(params); }; -const submtiFile = async () => { +const submitFile = async () => { let param = { type: 'redis', - database: '', + database: redisName.value, file: redisConf.value, }; loading.value = true;