This commit is contained in:
Baobhan Sith
2025-04-30 09:53:28 +08:00
parent 0ef8928cad
commit 8845392eee
2 changed files with 2 additions and 6 deletions
@@ -419,10 +419,7 @@ const getIconClasses = (paneName: PaneName): string[] => {
// --- Sidebar Resize Logic --- // --- Sidebar Resize Logic ---
onMounted(() => { onMounted(() => {
// +++ Log current layout tree from store on root mount +++
if (props.isRootRenderer) {
console.log('[LayoutRenderer DEBUG] Current layoutTree from store on mount:', JSON.stringify(layoutStore.layoutTree.value, null, 2));
}
// Left Sidebar Resize // Left Sidebar Resize
useSidebarResize({ useSidebarResize({
+1 -2
View File
@@ -1,7 +1,6 @@
import { defineStore } from 'pinia'; import { defineStore } from 'pinia';
import { ref, computed, watch, type Ref, type ComputedRef } from 'vue'; import { ref, computed, watch, type Ref, type ComputedRef } from 'vue';
// 导入 axios 用于 API 调用 import apiClient from '../utils/apiClient';
import apiClient from '../utils/apiClient'; // 使用统一的 apiClient
// 定义所有可用面板的名称 // 定义所有可用面板的名称
export type PaneName = 'connections' | 'terminal' | 'commandBar' | 'fileManager' | 'editor' | 'statusMonitor' | 'commandHistory' | 'quickCommands' | 'dockerManager'; export type PaneName = 'connections' | 'terminal' | 'commandBar' | 'fileManager' | 'editor' | 'statusMonitor' | 'commandHistory' | 'quickCommands' | 'dockerManager';