style: 历史消息

dev/chat
Lei OT 2 years ago
parent 032a9263d5
commit 99d9f1ed32

@ -196,7 +196,7 @@ function ChatHistory() {
}; };
const loadMorePre = const loadMorePre =
paramsForMsgList.loadPrePage && chatItemMessages.length > 0 ? ( paramsForMsgList.loadPrePage && chatItemMessages.length > 0 ? (
<div className='text-center pt-3 mb-3 h-8 leading-8 border-dotted border-0 border-t border-slate-300'> <div className='text-center h-8 leading-8 '>
{messageListPreLoading ? <LoadingOutlined className='text-primary' /> : <Button onClick={onLoadMorePre}>load more previous </Button>} {messageListPreLoading ? <LoadingOutlined className='text-primary' /> : <Button onClick={onLoadMorePre}>load more previous </Button>}
</div> </div>
) : null; ) : null;

Loading…
Cancel
Save