test kexue-ui
This commit is contained in:
parent
b2bbba8db6
commit
9a141585a1
|
|
@ -130,7 +130,7 @@ export const conversationApi = {
|
|||
if (!response.ok) {
|
||||
throw new Error(`获取对话列表失败: HTTP ${response.status}`);
|
||||
}
|
||||
|
||||
|
||||
const data: BackendConversation[] = await response.json();
|
||||
return data.map(transformConversation);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue