mirror of https://github.com/certd/certd
perf: 1panel支持 currenNode
parent
b0707739fd
commit
acc890730f
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue