chore: 修复默认更新天数无效的bug

This commit is contained in:
xiaojunnuo
2026-01-29 00:46:29 +08:00
parent 58c3d7087b
commit 67a5225bde
2 changed files with 10 additions and 2 deletions

View File

@@ -115,6 +115,15 @@ export function useCertPipelineCreator() {
label: "name",
});
const DEFAULT_RENEW_DAYS = settingStore.sysPublic.defaultCertRenewDays || settingStore.sysPublic.defaultWillExpireDays || 15;
merge(inputs, {
renewDays: {
form: {
value: DEFAULT_RENEW_DAYS,
},
},
});
return {
crudOptions: {
form: {
@@ -338,7 +347,7 @@ export function useCertPipelineCreator() {
title: "申请证书",
runnableType: "step",
input: {
renewDays: 35,
renewDays: 15,
...pluginInput,
},
strategy: {

View File

@@ -20,7 +20,6 @@ export abstract class CertApplyBasePlugin extends CertApplyBaseConvertPlugin {
@TaskInput({
title: "更新天数",
value: 18,
component: {
name: "a-input-number",
vModel: "value",