From aaf18d79bfcb53bde41c9004490c70f653f22c24 Mon Sep 17 00:00:00 2001 From: lijiahang Date: Mon, 6 Jan 2025 15:25:15 +0800 Subject: [PATCH] =?UTF-8?q?:hammer:=20=E4=BF=AE=E6=94=B9=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orion-visor-ui/src/App.vue | 2 ++ orion-visor-ui/src/components/view/chart/index.vue | 8 ++++---- orion-visor-ui/src/store/modules/terminal/index.ts | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/orion-visor-ui/src/App.vue b/orion-visor-ui/src/App.vue index 0b785d0b..c7e9f430 100644 --- a/orion-visor-ui/src/App.vue +++ b/orion-visor-ui/src/App.vue @@ -1,6 +1,8 @@ diff --git a/orion-visor-ui/src/components/view/chart/index.vue b/orion-visor-ui/src/components/view/chart/index.vue index 1a04608b..feb87b38 100644 --- a/orion-visor-ui/src/components/view/chart/index.vue +++ b/orion-visor-ui/src/components/view/chart/index.vue @@ -12,10 +12,10 @@ import VCharts from 'vue-echarts'; const props = withDefaults(defineProps>(), { options: () => { return {}; diff --git a/orion-visor-ui/src/store/modules/terminal/index.ts b/orion-visor-ui/src/store/modules/terminal/index.ts index 60371420..6e0ae4be 100644 --- a/orion-visor-ui/src/store/modules/terminal/index.ts +++ b/orion-visor-ui/src/store/modules/terminal/index.ts @@ -189,7 +189,7 @@ export default defineStore('terminal', { // 添加到最近连接 this.hosts.latestHosts = [...new Set([tab.hostId, ...this.hosts.latestHosts])]; // 重新打开会话 - await this.sessionManager.reOpenSession(tab.type, sessionId, newSessionId); + await this.sessionManager.reOpenSession(sessionId, newSessionId); }, // 复制并且打开会话