mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore: 修复默认更新天数无效的bug
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user