mirror of
https://github.com/certd/certd.git
synced 2026-04-30 01:07:28 +08:00
chore: 修复默认更新天数无效的bug
This commit is contained in:
@@ -115,6 +115,15 @@ export function useCertPipelineCreator() {
|
|||||||
label: "name",
|
label: "name",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const DEFAULT_RENEW_DAYS = settingStore.sysPublic.defaultCertRenewDays || settingStore.sysPublic.defaultWillExpireDays || 15;
|
||||||
|
|
||||||
|
merge(inputs, {
|
||||||
|
renewDays: {
|
||||||
|
form: {
|
||||||
|
value: DEFAULT_RENEW_DAYS,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
return {
|
return {
|
||||||
crudOptions: {
|
crudOptions: {
|
||||||
form: {
|
form: {
|
||||||
@@ -338,7 +347,7 @@ export function useCertPipelineCreator() {
|
|||||||
title: "申请证书",
|
title: "申请证书",
|
||||||
runnableType: "step",
|
runnableType: "step",
|
||||||
input: {
|
input: {
|
||||||
renewDays: 35,
|
renewDays: 15,
|
||||||
...pluginInput,
|
...pluginInput,
|
||||||
},
|
},
|
||||||
strategy: {
|
strategy: {
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ export abstract class CertApplyBasePlugin extends CertApplyBaseConvertPlugin {
|
|||||||
|
|
||||||
@TaskInput({
|
@TaskInput({
|
||||||
title: "更新天数",
|
title: "更新天数",
|
||||||
value: 18,
|
|
||||||
component: {
|
component: {
|
||||||
name: "a-input-number",
|
name: "a-input-number",
|
||||||
vModel: "value",
|
vModel: "value",
|
||||||
|
|||||||
Reference in New Issue
Block a user