perf: 优化pfx密码密码输入框,让浏览器不自动填写密码

This commit is contained in:
xiaojunnuo
2024-10-22 11:22:59 +08:00
parent 3db216f515
commit ffeede38af
3 changed files with 32 additions and 2 deletions

View File

@@ -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;