fix: update plus ssh config

This commit is contained in:
chaoszhu
2026-08-19 23:16:20 +08:00
parent aff8ecfe09
commit 54a04a182b
2 changed files with 2 additions and 8 deletions
-1
View File
@@ -107,7 +107,6 @@ const plusFeatures = [
'脚本库批量导出导入',
'脚本库分组与终端功能栏支持',
'终端功能栏docker容器管理',
'凭据管理支持解密带密码保护的密钥',
'终端会话挂起',
]
</script>
+2 -7
View File
@@ -71,7 +71,6 @@
<el-input
v-model="sshForm.openSSHKeyPassword"
type="password"
:disabled="!isPlusActive"
placeholder="请输入openssh私钥密码(没有密码请留空)"
show-password
autocomplete="off"
@@ -121,9 +120,7 @@
<template #footer>
<span>
<el-button @click="keyPasswordVisible = false">取消</el-button>
<PlusSupportTip>
<el-button type="primary" :disabled="!isPlusActive" @click="handleDecryptKey">确认</el-button>
</PlusSupportTip>
<el-button type="primary" @click="handleDecryptKey">确认</el-button>
</span>
</template>
</el-dialog>
@@ -134,7 +131,6 @@
import { ref, reactive, computed, nextTick, getCurrentInstance, watch } from 'vue'
import { randomStr, AESEncrypt, RSAEncrypt } from '@utils/index.js'
import { WarningFilled } from '@element-plus/icons-vue'
import PlusSupportTip from '@/components/common/PlusSupportTip.vue'
const { proxy: { $api, $message, $messageBox, $store } } = getCurrentInstance()
@@ -161,7 +157,6 @@ const updateFormRef = ref(null)
const privateKeyRef = ref(null)
let sshList = computed(() => $store.sshList)
let isPlusActive = computed(() => $store.isPlusActive)
// 检测密码是否包含空格
const passwordHasSpace = computed(() => {
@@ -296,4 +291,4 @@ const handleDecryptKey = async () => {
font-size: 13px;
color: #CF8A20;
}
</style>
</style>