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') }} - - - - - - - - - + + - +