From 221c39995f72783f2c2e00220f4658c38a60c83e Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 17 Mar 2025 15:32:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BD=BB=E9=87=8F=E7=89=88=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=E5=9B=BA=E5=AE=9Aomc=E6=9C=AC=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/hostList.vue | 0 src/views/tool/terminal-more/index.vue | 339 +++++++++++++++++ src/views/tool/terminal/index.vue | 353 +++--------------- 3 files changed, 391 insertions(+), 301 deletions(-) rename src/views/tool/{terminal => terminal-more}/components/hostList.vue (100%) create mode 100644 src/views/tool/terminal-more/index.vue diff --git a/src/views/tool/terminal/components/hostList.vue b/src/views/tool/terminal-more/components/hostList.vue similarity index 100% rename from src/views/tool/terminal/components/hostList.vue rename to src/views/tool/terminal-more/components/hostList.vue diff --git a/src/views/tool/terminal-more/index.vue b/src/views/tool/terminal-more/index.vue new file mode 100644 index 00000000..7f4c18cb --- /dev/null +++ b/src/views/tool/terminal-more/index.vue @@ -0,0 +1,339 @@ + + + + + + fnTabClose(id)" + > + + + + + + + + + + + + + + + + + + + + + + (isFullscreen ? toggle() : null)" + @link="fnConnectHost" + > + + + + + + + + + {{ t('loayouts.rightContent.fullscreen') }} + + + + + + + + + + + + + {{ t('views.tool.terminal.more') }} + + + + + + + fnTabMenu(key)"> + + {{ t('views.tool.terminal.reload') }} + + + {{ t('views.tool.terminal.current') }} + + + {{ t('views.tool.terminal.other') }} + + + {{ t('views.tool.terminal.all') }} + + + + + + + + + + + + + + diff --git a/src/views/tool/terminal/index.vue b/src/views/tool/terminal/index.vue index 7f4c18cb..dc0ee2b8 100644 --- a/src/views/tool/terminal/index.vue +++ b/src/views/tool/terminal/index.vue @@ -1,203 +1,76 @@ @@ -205,135 +78,13 @@ function fnTabClose(id: string) { - fnTabClose(id)" - > - - - - - - - - - - - - - - - - - - - - - - (isFullscreen ? toggle() : null)" - @link="fnConnectHost" - > - - - - - - - - - {{ t('loayouts.rightContent.fullscreen') }} - - - - - - - - - - - - - {{ t('views.tool.terminal.more') }} - - - - - - - fnTabMenu(key)"> - - {{ t('views.tool.terminal.reload') }} - - - {{ t('views.tool.terminal.current') }} - - - {{ t('views.tool.terminal.other') }} - - - {{ t('views.tool.terminal.all') }} - - - - - - - - - + + - +