fix: 修复群晖测试时报addSecret undefine错误

This commit is contained in:
xiaojunnuo
2026-03-16 22:51:09 +08:00
parent 0b9933df1e
commit 5eb4aa3a0e
15 changed files with 31 additions and 16 deletions
@@ -90,7 +90,6 @@ const getPluginType: any = inject("get:plugin:type", () => {
return "plugin";
});
debugger;
const searchKeyRef = ref("");
const optionsRef = ref([]);
const message = ref("");
@@ -308,7 +308,6 @@ async function doRegisterPasskey(deviceName: string) {
},
};
console.log("credential", credential, response);
debugger;
const verifyRes: any = await api.verifyPasskeyRegistration(response, options.challenge, deviceName);
await loadPasskeys();
@@ -115,7 +115,7 @@ export function useCertPipelineCreator() {
label: "name",
});
const DEFAULT_RENEW_DAYS = settingStore.sysPublic.defaultCertRenewDays || settingStore.sysPublic.defaultWillExpireDays || 15;
const DEFAULT_RENEW_DAYS = settingStore.sysPublic.defaultCertRenewDays || settingStore.sysPublic.defaultWillExpireDays || 20;
merge(inputs, {
renewDays: {
@@ -347,7 +347,7 @@ export function useCertPipelineCreator() {
title: "申请证书",
runnableType: "step",
input: {
renewDays: 15,
renewDays: 20,
...pluginInput,
},
strategy: {
@@ -30,12 +30,13 @@ const pipelineOptions: PipelineOptions = {
return {
pipeline: {
id: detail.pipeline.id,
userId: detail.pipeline.userId,
stages: [],
triggers: [],
...JSON.parse(detail.pipeline.content || "{}"),
type: detail.pipeline.type,
from: detail.pipeline.from,
userId: detail.pipeline.userId,
projectId: detail.pipeline.projectId,
},
validTime: detail.pipeline.validTime,
webhookKey: detail.pipeline.webhookKey,