### What problem does this PR solve? historical chats appear in the new user's chat box Issue link:#256 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -97,6 +97,7 @@ const model: DvaModel<ChatModelState> = {
|
||||
if (data.retcode === 0) {
|
||||
yield put({ type: 'setDialogList', payload: data.data });
|
||||
}
|
||||
return data;
|
||||
},
|
||||
*listConversation({ payload }, { call, put }) {
|
||||
const { data } = yield call(chatService.listConversation, payload);
|
||||
|
||||
Reference in New Issue
Block a user