🔨 修改构建错误.

This commit is contained in:
lijiahang
2025-01-06 15:25:15 +08:00
parent 4e3f548ac8
commit aaf18d79bf
3 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
<template>
<a-config-provider :locale="locale">
<!-- 路由 -->
<router-view />
<!-- 应用设置 -->
<app-setting ref="appSettingRef" />
</a-config-provider>
</template>

View File

@@ -12,10 +12,10 @@
import VCharts from 'vue-echarts';
const props = withDefaults(defineProps<Partial<{
options: EChartsOption,
autoResize: boolean,
width: string,
height: string,
options: EChartsOption;
autoResize: boolean;
width: string;
height: string;
}>>(), {
options: () => {
return {};

View File

@@ -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);
},
// 复制并且打开会话