mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-12 18:44:25 +08:00
refactor(rustdesk): 移除密钥对状态展示
This commit is contained in:
@@ -228,7 +228,6 @@ export interface RustDeskConfigResponse {
|
||||
relay_server: string | null
|
||||
device_id: string
|
||||
has_password: boolean
|
||||
has_keypair: boolean
|
||||
relay_key: string | null
|
||||
}
|
||||
|
||||
|
||||
@@ -1101,7 +1101,6 @@ export default {
|
||||
notInitialized: 'Not Initialized',
|
||||
copyId: 'Copy ID',
|
||||
copyPassword: 'Copy Password',
|
||||
keypairGenerated: 'Keypair Generated',
|
||||
},
|
||||
rtsp: {
|
||||
title: 'RTSP Streaming',
|
||||
|
||||
@@ -1100,7 +1100,6 @@ export default {
|
||||
notInitialized: '未初始化',
|
||||
copyId: '复制 ID',
|
||||
copyPassword: '复制密码',
|
||||
keypairGenerated: '密钥对已生成',
|
||||
},
|
||||
rtsp: {
|
||||
title: 'RTSP 视频流',
|
||||
|
||||
@@ -5217,15 +5217,6 @@ watch(isWindows, () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Keypair Status -->
|
||||
<div v-if="rustdeskLocalConfig.mode === 'id'" class="grid gap-2 sm:grid-cols-4 sm:items-center">
|
||||
<Label class="sm:text-right">{{ t('extensions.rustdesk.keypairGenerated') }}</Label>
|
||||
<div class="sm:col-span-3">
|
||||
<Badge :variant="rustdeskConfig?.has_keypair ? 'default' : 'secondary'">
|
||||
{{ rustdeskConfig?.has_keypair ? t('common.yes') : t('common.no') }}
|
||||
</Badge>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
<CardFooter class="border-t pt-4 justify-end">
|
||||
|
||||
Reference in New Issue
Block a user