diff --git a/server/app/socket/terminal.js b/server/app/socket/terminal.js index d29ba3f..97465ce 100644 --- a/server/app/socket/terminal.js +++ b/server/app/socket/terminal.js @@ -68,7 +68,6 @@ module.exports = (httpServer) => { } consola.info('准备连接终端:', host) targetHostInfo[targetHostInfo.authType] = await AESDecryptSync(targetHostInfo[targetHostInfo.authType]) - console.log('authInfo:', authInfo) consola.log('连接信息', { username, port, authType }) sshClient .on('ready', () => { diff --git a/web/src/views/terminal/components/terminal.vue b/web/src/views/terminal/components/terminal.vue index 2863145..3ccbfc9 100644 --- a/web/src/views/terminal/components/terminal.vue +++ b/web/src/views/terminal/components/terminal.vue @@ -203,6 +203,11 @@ const handleInputCommand = async (command) => { border: none; } + :deep(.el-tabs__nav-wrap.is-scrollable.is-top) { + display: flex; + align-items: center; + } + .info_box { height: 100%; overflow: auto;