🔨 修改构建错误.
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-config-provider :locale="locale">
|
<a-config-provider :locale="locale">
|
||||||
|
<!-- 路由 -->
|
||||||
<router-view />
|
<router-view />
|
||||||
|
<!-- 应用设置 -->
|
||||||
<app-setting ref="appSettingRef" />
|
<app-setting ref="appSettingRef" />
|
||||||
</a-config-provider>
|
</a-config-provider>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
import VCharts from 'vue-echarts';
|
import VCharts from 'vue-echarts';
|
||||||
|
|
||||||
const props = withDefaults(defineProps<Partial<{
|
const props = withDefaults(defineProps<Partial<{
|
||||||
options: EChartsOption,
|
options: EChartsOption;
|
||||||
autoResize: boolean,
|
autoResize: boolean;
|
||||||
width: string,
|
width: string;
|
||||||
height: string,
|
height: string;
|
||||||
}>>(), {
|
}>>(), {
|
||||||
options: () => {
|
options: () => {
|
||||||
return {};
|
return {};
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ export default defineStore('terminal', {
|
|||||||
// 添加到最近连接
|
// 添加到最近连接
|
||||||
this.hosts.latestHosts = [...new Set([tab.hostId, ...this.hosts.latestHosts])];
|
this.hosts.latestHosts = [...new Set([tab.hostId, ...this.hosts.latestHosts])];
|
||||||
// 重新打开会话
|
// 重新打开会话
|
||||||
await this.sessionManager.reOpenSession(tab.type, sessionId, newSessionId);
|
await this.sessionManager.reOpenSession(sessionId, newSessionId);
|
||||||
},
|
},
|
||||||
|
|
||||||
// 复制并且打开会话
|
// 复制并且打开会话
|
||||||
|
|||||||
Reference in New Issue
Block a user