From 933415c30dba7873cbdfb2b5a50dc786aa3056b3 Mon Sep 17 00:00:00 2001 From: Jianguo-Genius Date: Thu, 11 Apr 2024 10:55:14 +0800 Subject: [PATCH] =?UTF-8?q?style(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=8F=82=E6=95=B0=E6=96=87=E6=A1=88=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/setting/system/config/components/memoryCleanup.vue | 2 +- frontend/src/views/setting/system/config/locale/en-US.ts | 2 +- frontend/src/views/setting/system/config/locale/zh-CN.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/setting/system/config/components/memoryCleanup.vue b/frontend/src/views/setting/system/config/components/memoryCleanup.vue index ea50421219..276dc5f922 100644 --- a/frontend/src/views/setting/system/config/components/memoryCleanup.vue +++ b/frontend/src/views/setting/system/config/components/memoryCleanup.vue @@ -126,7 +126,7 @@ const saveLoading = ref(false); async function saveConfig() { - if (!hasPermission) { + if (!hasPermission.value) { return; } saveLoading.value = true; diff --git a/frontend/src/views/setting/system/config/locale/en-US.ts b/frontend/src/views/setting/system/config/locale/en-US.ts index 4ba4065658..6a1b7212c3 100644 --- a/frontend/src/views/setting/system/config/locale/en-US.ts +++ b/frontend/src/views/setting/system/config/locale/en-US.ts @@ -192,7 +192,7 @@ export default { 'system.config.auth.testLoginPasswordNotNull': 'LDAP login password cannot be empty', 'system.config.auth.testLoginSuccess': 'LDAP login successful', 'system.config.auth.testLoginCancel': 'Cancel', - 'system.config.memoryCleanup': 'Memory cleanup', + 'system.config.memoryCleanup': 'Data cleanup', 'system.config.memoryCleanup.log': 'Log', 'system.config.memoryCleanup.history': 'Change history', 'system.config.memoryCleanup.keepTime': 'Retention time', diff --git a/frontend/src/views/setting/system/config/locale/zh-CN.ts b/frontend/src/views/setting/system/config/locale/zh-CN.ts index 1ba59ed12a..4aa1ff2310 100644 --- a/frontend/src/views/setting/system/config/locale/zh-CN.ts +++ b/frontend/src/views/setting/system/config/locale/zh-CN.ts @@ -187,7 +187,7 @@ export default { 'system.config.auth.testLoginPasswordNotNull': 'LDAP 登录密码不能为空', 'system.config.auth.testLoginCancel': '取消测试', 'system.config.auth.testLoginSuccess': 'LDAP 登录成功', - 'system.config.memoryCleanup': '内存清理', + 'system.config.memoryCleanup': '数据清理', 'system.config.memoryCleanup.log': '日志', 'system.config.memoryCleanup.history': '变更历史', 'system.config.memoryCleanup.keepTime': '保留时长',