perf: 1panel支持 currenNode

v2
xiaojunnuo 2025-07-28 22:41:45 +08:00
parent b0707739fd
commit acc890730f
1 changed files with 3 additions and 1 deletions

View File

@ -42,6 +42,7 @@ export function createRemoteSelectInputDefine(opts?: {
search?: boolean; search?: boolean;
pager?: boolean; pager?: boolean;
component?: any; component?: any;
value?: any;
}) { }) {
const title = opts?.title || "请选择"; const title = opts?.title || "请选择";
const certDomainsInputKey = opts?.certDomainsInputKey || "certDomains"; const certDomainsInputKey = opts?.certDomainsInputKey || "certDomains";
@ -74,6 +75,7 @@ export function createRemoteSelectInputDefine(opts?: {
watches: [certDomainsInputKey, accessIdInputKey, ...watches], watches: [certDomainsInputKey, accessIdInputKey, ...watches],
...opts.component, ...opts.component,
}, },
value: opts.value,
rules: opts?.rules, rules: opts?.rules,
required: opts.required ?? true, required: opts.required ?? true,
mergeScript: mergeScript: