开发: 添加客户列表
This commit is contained in:
@@ -109,8 +109,8 @@ const ChatLogs: React.FC = () => {
|
||||
setChatLogLoading(false);
|
||||
isAllChatRef.current = count < param.page_count * param.curr_page;
|
||||
if (res.err_code == 0) {
|
||||
let arr: IChat[] = [];
|
||||
if (Array.isArray(res.data) && res.data.length) {
|
||||
let arr: IChat[] = [];
|
||||
const temp = res.data.reverse();
|
||||
const mark = { curr_page: param.curr_page, msg_time: temp[temp.length - 1].msg_time };
|
||||
if (param.curr_page == 1) {
|
||||
@@ -140,8 +140,8 @@ const ChatLogs: React.FC = () => {
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
setChatLogs(arr);
|
||||
}
|
||||
setChatLogs(arr);
|
||||
}
|
||||
});
|
||||
};
|
||||
@@ -708,6 +708,18 @@ const ChatLogs: React.FC = () => {
|
||||
</div>
|
||||
</div>
|
||||
<div>备注名称:{selectCustFollow?.remark}</div>
|
||||
<div
|
||||
style={{
|
||||
paddingTop: 12,
|
||||
marginBottom: 12,
|
||||
paddingBottom: 12,
|
||||
borderBottom: '1px solid #ddd',
|
||||
fontSize: 16,
|
||||
fontWeight: 'bold',
|
||||
}}
|
||||
>
|
||||
标签
|
||||
</div>
|
||||
{formatTags(selectCustFollow?.tags)}
|
||||
</div>
|
||||
) : (
|
||||
|
Reference in New Issue
Block a user