feat: 完成对接接口
This commit is contained in:
@@ -56,8 +56,8 @@ export const useChatStore = defineStore('chat', () => {
|
||||
sessionId,
|
||||
userId: userStore.userInfo?.userId as number,
|
||||
});
|
||||
if (res.rows) {
|
||||
setChatMap(sessionId, res.rows);
|
||||
if (res.data.items) {
|
||||
setChatMap(sessionId, res.data.items);
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user