mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: output-selector from参数支持更丰富的过滤规则
规则: pluginName:valueType:keyName
This commit is contained in:
@@ -87,10 +87,13 @@ export class PluginGroups {
|
||||
for (const step of steps) {
|
||||
const stepDefine = this.get(step.type);
|
||||
for (const key in stepDefine?.output) {
|
||||
const inputDefine = stepDefine.output[key];
|
||||
options.push({
|
||||
value: `step.${step.id}.${key}`,
|
||||
label: `${stepDefine.output[key].title}【from:${step.title}】`,
|
||||
label: `${inputDefine.title}【from:${step.title}】`,
|
||||
type: step.type,
|
||||
valueType: inputDefine.type,
|
||||
key: key,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user