开发: 撤回代码
This commit is contained in:
@@ -242,8 +242,8 @@ const ChatLogs: React.FC = () => {
|
|||||||
// });
|
// });
|
||||||
setStaffsList(res.data);
|
setStaffsList(res.data);
|
||||||
setInnerStaffsList(res.data);
|
setInnerStaffsList(res.data);
|
||||||
// getCustFollowsList();
|
getCustFollowsList();
|
||||||
// getGroupList();
|
getGroupList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -566,11 +566,11 @@ const ChatLogs: React.FC = () => {
|
|||||||
setSelectStaff({ ...item });
|
setSelectStaff({ ...item });
|
||||||
selectStaffRef.current = { ...item };
|
selectStaffRef.current = { ...item };
|
||||||
setFlolowsBox(false);
|
setFlolowsBox(false);
|
||||||
if (tabKey == '1') {
|
// if (tabKey == '1') {
|
||||||
getCustFollowsList();
|
getCustFollowsList();
|
||||||
} else if (tabKey == '2') {
|
// } else if (tabKey == '2') {
|
||||||
getGroupList();
|
getGroupList();
|
||||||
}
|
// }
|
||||||
}}
|
}}
|
||||||
style={{ background: selectStaff?.user_id == item.user_id ? '#bae0ff' : '' }}
|
style={{ background: selectStaff?.user_id == item.user_id ? '#bae0ff' : '' }}
|
||||||
>
|
>
|
||||||
@@ -654,11 +654,11 @@ const ChatLogs: React.FC = () => {
|
|||||||
tabBarGutter={12}
|
tabBarGutter={12}
|
||||||
onChange={(val) => {
|
onChange={(val) => {
|
||||||
setTabKey(val);
|
setTabKey(val);
|
||||||
if (val == '1') {
|
// if (val == '1') {
|
||||||
getCustFollowsList();
|
// getCustFollowsList();
|
||||||
} else if (val == '2') {
|
// } else if (val == '2') {
|
||||||
getGroupList();
|
// getGroupList();
|
||||||
}
|
// }
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div className={styles.chatBBox}>{tabContent()}</div>
|
<div className={styles.chatBBox}>{tabContent()}</div>
|
||||||
|
Reference in New Issue
Block a user