chore: 优化input-number

This commit is contained in:
xiaojunnuo
2025-11-06 23:24:58 +08:00
parent e487b45898
commit f83fe28a18
4 changed files with 7 additions and 1 deletions

View File

@@ -759,6 +759,7 @@ export default {
certDomainAddToMonitorEnabledHelper: "Whether to add the domain to the certificate monitor",
fixedCertExpireDays: "Fixed Cert Expire Days",
fixedCertExpireDaysHelper: "Fixed cert expiration days, helpful for table list progress bar display",
fixedCertExpireDaysRecommend: "Recommend 90",
},
},
modal: {

View File

@@ -760,6 +760,7 @@ export default {
fixedCertExpireDays: "固定证书有效期天数",
fixedCertExpireDaysHelper: "固定证书有效期天数,有助于列表进度条整齐显示",
fixedCertExpireDaysRecommend: "推荐90",
},
},
modal: {

View File

@@ -71,4 +71,8 @@ footer {
.ant-progress .ant-progress-text{
width:3em;
}
.ant-input-number{
min-width: 150px;
}

View File

@@ -26,7 +26,7 @@
<a-form-item :label="t('certd.sys.setting.fixedCertExpireDays')" :name="['public', 'fixedCertExpireDays']">
<div class="flex items-center">
<a-input-number v-model:value="formState.public.fixedCertExpireDays" />
<a-input-number v-model:value="formState.public.fixedCertExpireDays" :placeholder="t('certd.sys.setting.fixedCertExpireDaysRecommend')" />
<vip-button class="ml-5" mode="button"></vip-button>
</div>
<div class="helper">{{ t("certd.sys.setting.fixedCertExpireDaysHelper") }}</div>