perf: output-selector from参数支持更丰富的过滤规则

规则:  pluginName:valueType:keyName
This commit is contained in:
xiaojunnuo
2025-07-09 14:34:24 +08:00
parent 46a1b74799
commit 87853a2015
10 changed files with 54 additions and 29 deletions
@@ -54,8 +54,9 @@ function getDomainFromPipeline(inputKey: string) {
return;
}
if (!CertApplyPluginNames.includes(certStep.type)) {
targetStepId = getStepIdFromInputKey(certStep.input?.cert);
const firstLevelValue = certStep.input.cert;
if (firstLevelValue && typeof firstLevelValue === "string" && firstLevelValue.indexOf(".") > 0) {
targetStepId = getStepIdFromInputKey(firstLevelValue);
certStep = findStepFromPipeline(targetStepId);
if (!certStep) {
errorRef.value = "找不到目标步骤,请先选择域名证书";