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

View File

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