diff --git a/packages/plugins/plugin-cert/src/plugin/cert-plugin/base.ts b/packages/plugins/plugin-cert/src/plugin/cert-plugin/base.ts index 36cfd19e..e42b235b 100644 --- a/packages/plugins/plugin-cert/src/plugin/cert-plugin/base.ts +++ b/packages/plugins/plugin-cert/src/plugin/cert-plugin/base.ts @@ -50,7 +50,7 @@ export abstract class CertApplyBasePlugin extends AbstractTaskPlugin { @TaskInput({ title: "PFX证书密码", component: { - name: "a-input-password", + name: "input-password", vModel: "value", }, required: false, @@ -227,7 +227,7 @@ export abstract class CertApplyBasePlugin extends AbstractTaskPlugin { * "successNotify": true, * "pfxPassword": "123456" */ - const checkInputChanges = ["domains", "sslProvider", "privateKeyType", "dnsProviderType", "dnsProviderAccess", "pfxPassword"]; + const checkInputChanges = ["domains", "sslProvider", "privateKeyType", "dnsProviderType", "pfxPassword"]; const oldInput = JSON.stringify(pick(this.lastStatus?.input, checkInputChanges)); const thisInput = JSON.stringify(pick(this, checkInputChanges)); inputChanged = oldInput !== thisInput; diff --git a/packages/ui/certd-client/src/components/plugins/common/input-password.vue b/packages/ui/certd-client/src/components/plugins/common/input-password.vue new file mode 100644 index 00000000..6dc42141 --- /dev/null +++ b/packages/ui/certd-client/src/components/plugins/common/input-password.vue @@ -0,0 +1,28 @@ + + + diff --git a/packages/ui/certd-client/src/components/plugins/index.ts b/packages/ui/certd-client/src/components/plugins/index.ts index 6f1f7713..f9d811fe 100644 --- a/packages/ui/certd-client/src/components/plugins/index.ts +++ b/packages/ui/certd-client/src/components/plugins/index.ts @@ -5,6 +5,7 @@ import OutputSelector from "/@/components/plugins/common/output-selector/index.v import DnsProviderSelector from "/@/components/plugins/cert/dns-provider-selector/index.vue"; import DomainsVerifyPlanEditor from "/@/components/plugins/cert/domains-verify-plan-editor/index.vue"; import AccessSelector from "/@/views/certd/access/access-selector/index.vue"; +import InputPassword from "./common/input-password.vue"; export * from "./cert/index.js"; export default { install(app: any) { @@ -16,5 +17,6 @@ export default { app.component("SynologyDeviceIdGetter", SynologyIdDeviceGetter); app.component("RemoteSelect", RemoteSelect); app.component("CertDomainsGetter", CertDomainsGetter); + app.component("InputPassword", InputPassword); } };