diff --git a/src/pages/ChatLogs/index.tsx b/src/pages/ChatLogs/index.tsx index 8a5c07a..6c61318 100644 --- a/src/pages/ChatLogs/index.tsx +++ b/src/pages/ChatLogs/index.tsx @@ -242,12 +242,12 @@ const ChatLogs: React.FC = () => { if (Array.isArray(res.data) && res.data.length) { setSelectStaff(res.data[0]); selectStaffRef.current = res.data[0]; - res.data.forEach((element: IStaffsItem) => { - if (element.user_id == 'yangxb') { - setSelectStaff(element); - selectStaffRef.current = element; - } - }); + // res.data.forEach((element: IStaffsItem) => { + // if (element.user_id == 'yangxb') { + // setSelectStaff(element); + // selectStaffRef.current = element; + // } + // }); setStaffsList(res.data); setInnerStaffsList(res.data); getCustFollowsList();