perf: 优化插件字段的default value

This commit is contained in:
xiaojunnuo
2024-08-06 11:23:23 +08:00
parent c3f04a80fd
commit 24c7be2c9c
6 changed files with 24 additions and 18 deletions
@@ -56,7 +56,7 @@ export class UploadCertToHostPlugin extends AbstractTaskPlugin {
@TaskInput({
title: '自动创建远程目录',
helper: '是否自动创建远程目录,如果关闭则你需要自己确保远程目录存在',
default: true,
value: true,
component: {
name: 'a-switch',
vModel: 'checked',
@@ -68,7 +68,7 @@ export class UploadCertToHostPlugin extends AbstractTaskPlugin {
title: '仅复制到当前主机',
helper:
'开启后,将直接复制到当前主机某个目录,不上传到主机,由于是docker启动,实际上是复制到docker容器内的“证书保存路径”,你需要事先在docker-compose.yaml中配置主机目录映射: volumes: /your_target_path:/your_target_path',
default: false,
value: false,
component: {
name: 'a-switch',
vModel: 'checked',