mirror of
https://github.com/certd/certd.git
synced 2026-06-15 05:37:32 +08:00
perf: 1panel支持先上传证书再选择证书
This commit is contained in:
@@ -44,6 +44,10 @@ export function createRemoteSelectInputDefine(opts?: {
|
||||
component?: any;
|
||||
value?: any;
|
||||
pageSize?: number;
|
||||
uploadCert?: {
|
||||
title?: string;
|
||||
columns?: Record<string, any>;
|
||||
};
|
||||
}) {
|
||||
const title = opts?.title || "请选择";
|
||||
const certDomainsInputKey = opts?.certDomainsInputKey || "certDomains";
|
||||
@@ -74,6 +78,7 @@ export function createRemoteSelectInputDefine(opts?: {
|
||||
multi,
|
||||
pageSize: opts?.pageSize,
|
||||
watches: [certDomainsInputKey, accessIdInputKey, ...watches],
|
||||
uploadCert: opts?.uploadCert,
|
||||
...opts.component,
|
||||
},
|
||||
value: opts.value,
|
||||
|
||||
Reference in New Issue
Block a user