diff --git a/frontend/src/views/Dashboard/Dashboard.vue b/frontend/src/views/Dashboard/Dashboard.vue index ff7a018..bc339fe 100644 --- a/frontend/src/views/Dashboard/Dashboard.vue +++ b/frontend/src/views/Dashboard/Dashboard.vue @@ -6,7 +6,6 @@ import SettingsModal from "./SettingsModal.vue"; import DomainModal from "./DomainModal.vue"; import ServerModal from "./ServerModal.vue"; import RuntimeOverview from "./RuntimeOverview.vue"; -import SSHKeyModal from "./SSHKeyModal.vue"; import DashboardNavigation from "./DashboardNavigation.vue"; import { useDashboardNavigation } from "./DashboardNavigation.js"; import { useDashboard } from "./Dashboard.js"; @@ -18,7 +17,6 @@ const { currentUser, domains, servers, - sshKeys, certificates, tasks, auditLogs, @@ -46,9 +44,6 @@ const { serverEditingId, serverSaving, serverFormError, - showSSHKeyForm, - sshKeySaving, - sshKeyFormError, certificateTypeLabels, domainStatusLabels, taskStatusLabels, @@ -60,24 +55,10 @@ const { dnsProviders, environmentLabels, webServerLabels, - serverSSHKey, - serverSSHKeyStatusLabel, - serverSSHKeyStatusClass, - serverSSHCommand, - serverSSHKeyHint, isEditing, formTitle, form, serverForm, - sshKeyForm, - sshKeyPlatform, - sshKeyPassphraseVisible, - sshKeyCommandUsername, - sshKeyCommandHost, - sshKeyFileName, - sshKeyPath, - sshKeyPrivatePath, - sshKeyPublicPath, showSettings, showCertificateImport, importDomain, @@ -100,8 +81,6 @@ const { handleDNSProviderChange, clearDNSCredentials, testDNS, - sshKeyCommands, - sshPublicKeyCommands, defaultCertificatePath, defaultCertificateChainPath, defaultPrivateKeyPath, @@ -111,12 +90,6 @@ const { openServerCreate, openServerEdit, closeServerForm, - openSSHKeyCreate, - closeSSHKeyForm, - importSSHKeyFile, - copySSHKeyCommand, - saveSSHKey, - deleteSSHKey, saveServer, deleteServer, saveDomain, @@ -162,14 +135,6 @@ const { activeSection, activeLabel, sections, selectSection } = useDashboardNavi - - - - - 还没有私钥?点击“新建或导入”,按照引导生成、粘贴或读取私钥文件。 - -