diff --git a/packages/frontend/src/components/LayoutRenderer.vue b/packages/frontend/src/components/LayoutRenderer.vue index 16460a9..7654ac0 100644 --- a/packages/frontend/src/components/LayoutRenderer.vue +++ b/packages/frontend/src/components/LayoutRenderer.vue @@ -419,10 +419,7 @@ const getIconClasses = (paneName: PaneName): string[] => { // --- Sidebar Resize Logic --- 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 useSidebarResize({ diff --git a/packages/frontend/src/stores/layout.store.ts b/packages/frontend/src/stores/layout.store.ts index 0c5476d..2199553 100644 --- a/packages/frontend/src/stores/layout.store.ts +++ b/packages/frontend/src/stores/layout.store.ts @@ -1,7 +1,6 @@ import { defineStore } from 'pinia'; import { ref, computed, watch, type Ref, type ComputedRef } from 'vue'; -// 导入 axios 用于 API 调用 -import apiClient from '../utils/apiClient'; // 使用统一的 apiClient +import apiClient from '../utils/apiClient'; // 定义所有可用面板的名称 export type PaneName = 'connections' | 'terminal' | 'commandBar' | 'fileManager' | 'editor' | 'statusMonitor' | 'commandHistory' | 'quickCommands' | 'dockerManager';