From fbec7321079717cda709230e1be145131e922466 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Wed, 26 Feb 2025 21:25:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/config/components/MailSetting.vue | 61 +++++++++++---- .../config/components/SecuritySetting.vue | 75 +++++++++++++------ .../{BasicSetting.vue => SiteSetting.vue} | 31 ++++---- src/views/system/config/index.vue | 33 ++++---- 4 files changed, 131 insertions(+), 69 deletions(-) rename src/views/system/config/components/{BasicSetting.vue => SiteSetting.vue} (90%) diff --git a/src/views/system/config/components/MailSetting.vue b/src/views/system/config/components/MailSetting.vue index bb7fd88..b7b5abd 100644 --- a/src/views/system/config/components/MailSetting.vue +++ b/src/views/system/config/components/MailSetting.vue @@ -9,25 +9,56 @@ :layout="width >= 500 ? 'horizontal' : 'vertical'" :disabled="!isUpdate" scroll-to-first-error + class="form" > - + - - + + - - + + - - + + - - + + - + - + @@ -186,7 +220,8 @@ onMounted(() => { margin-bottom: 5px; } -.input-width, :deep(.arco-select-view-single) { +:deep(.form .arco-input-wrapper), +:deep(.arco-select-view-single) { width: 220px; } diff --git a/src/views/system/config/components/SecuritySetting.vue b/src/views/system/config/components/SecuritySetting.vue index 3c8e1f6..6892751 100644 --- a/src/views/system/config/components/SecuritySetting.vue +++ b/src/views/system/config/components/SecuritySetting.vue @@ -9,35 +9,49 @@ :layout="width >= 500 ? 'horizontal' : 'vertical'" :disabled="!isUpdate" scroll-to-first-error + class="form" > @@ -45,43 +59,62 @@ - + - + @@ -138,7 +171,7 @@ const rules: FormInstance['rules'] = { { validator: (value, callback) => { if (form.PASSWORD_EXPIRATION_DAYS > 0 && value >= form.PASSWORD_EXPIRATION_DAYS) { - callback('密码到期前的提示时间应小于密码有效期') + callback('密码到期提醒时间应小于密码有效期') } else { callback() } @@ -238,7 +271,7 @@ onMounted(() => { margin-bottom: 5px; } -.input-width { +:deep(.form .arco-input-wrapper) { width: 200px; } diff --git a/src/views/system/config/components/BasicSetting.vue b/src/views/system/config/components/SiteSetting.vue similarity index 90% rename from src/views/system/config/components/BasicSetting.vue rename to src/views/system/config/components/SiteSetting.vue index 6e3ec5e..317deb5 100644 --- a/src/views/system/config/components/BasicSetting.vue +++ b/src/views/system/config/components/SiteSetting.vue @@ -72,24 +72,23 @@ - - + + - + - - + + - - + + - +