MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / loadBaseData

Function loadBaseData

src/composables/useSessionAnalysisPageBase.ts:65–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 async function loadBaseData() {
66 if (!currentSessionId.value) return
67
68 try {
69 const sessionData = await useDataService().getSession(currentSessionId.value)
70 session.value = sessionData
71 } catch (error) {
72 console.error('加载基础数据失败:', error)
73 }
74 }
75
76 async function loadAnalysisData() {
77 if (!currentSessionId.value) return

Callers 1

loadDataFunction · 0.85

Calls 3

useDataServiceFunction · 0.90
getSessionMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected