📝 修改密钥.

This commit is contained in:
lijiahang
2024-05-17 12:26:01 +08:00
parent c85ab97cc5
commit a9dd8f2f36
75 changed files with 163 additions and 163 deletions

View File

@@ -16,11 +16,11 @@
label="用户名">
<a-input v-model="formModel.username" placeholder="请输入用户名" />
</a-form-item>
<!-- 主机 -->
<!-- 主机 -->
<a-form-item v-if="formModel.authType === ExtraSshAuthType.CUSTOM_KEY"
field="keyId"
label="主机钥"
:rules="{ required: true, message: '请选择主机钥' }">
label="主机钥"
:rules="{ required: true, message: '请选择主机钥' }">
<host-key-selector v-model="formModel.keyId"
:authorized="true" />
</a-form-item>

View File

@@ -64,7 +64,7 @@ export const ExtraSettingItems = {
export const ExtraSshAuthType = {
// 使用默认认证方式
DEFAULT: 'DEFAULT',
// 自定义
// 自定义
CUSTOM_KEY: 'CUSTOM_KEY',
// 自定义身份
CUSTOM_IDENTITY: 'CUSTOM_IDENTITY',