perf: 文件上传提示由cert.crt改为cert.pem

pull/101/head
xiaojunnuo 2024-07-03 23:39:12 +08:00
parent 664bb66a91
commit a09b0e48c1
2 changed files with 7 additions and 8 deletions

View File

@ -61,7 +61,6 @@ export class SshAccess implements IAccess, ConnectConfig {
})
passphrase!: string;
@AccessInput({
title: '是否Windows',
helper: '如果是Windows主机请勾选此项',
@ -70,7 +69,7 @@ export class SshAccess implements IAccess, ConnectConfig {
vModel: 'checked',
},
})
windows: boolean = false;
windows = false;
@AccessInput({
title: '命令编码',
@ -78,11 +77,11 @@ export class SshAccess implements IAccess, ConnectConfig {
component: {
name: 'a-select',
vModel: 'value',
options:[
{value:"","label":"默认"},
{value:"GBK","label":"GBK"},
{value:"UTF8","label":"UTF-8"},
]
options: [
{ value: '', label: '默认' },
{ value: 'GBK', label: 'GBK' },
{ value: 'UTF8', label: 'UTF-8' },
],
},
})
encoding: string;

View File

@ -27,7 +27,7 @@ export class UploadCertToHostPlugin extends AbstractTaskPlugin {
title: '证书保存路径',
helper: '需要有写入权限,路径要包含证书文件名,文件名不能用*?!等特殊符号',
component: {
placeholder: '/root/deploy/nginx/cert.crt',
placeholder: '/root/deploy/nginx/cert.pem',
},
})
crtPath!: string;