diff --git a/src/frontend/src/store.ts b/src/frontend/src/store.ts index 0ff2957..7e8da47 100644 --- a/src/frontend/src/store.ts +++ b/src/frontend/src/store.ts @@ -605,6 +605,7 @@ export const useStore = create((set, get) => ({ loadAll: async () => { const s = get(); await s.loadLive(); + await s.loadProjects(); // 确保 selectedProjectId 被设置 await s.loadV2Tasks(); const tab = s.activeTab; if (['models', 'skills'].includes(tab)) await s.loadAgentConfig();