|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
import useConversationStore from '@/stores/ConversationStore';
|
|
|
|
|
import useAuthStore from '@/stores/AuthStore'
|
|
|
|
|
import { Flex, Typography, Avatar, Alert, Button, Tooltip } from 'antd';
|
|
|
|
|
import { Flex, Typography, Avatar, Alert, Button, Tooltip, Spin } from 'antd';
|
|
|
|
|
import { ReloadOutlined, ApiOutlined } from '@ant-design/icons';
|
|
|
|
|
import { LoadingOutlined } from '@ant-design/icons';
|
|
|
|
|
|
|
|
|
@ -11,6 +11,7 @@ const MessagesHeader = () => {
|
|
|
|
|
const websocketRetrytimes = useConversationStore(state => state.websocketRetrytimes);
|
|
|
|
|
const currentConversation = useConversationStore(state => state.currentConversation);
|
|
|
|
|
const connectWebsocket = useConversationStore(state => state.connectWebsocket);
|
|
|
|
|
const msgListLoading = useConversationStore((state) => state.msgListLoading);
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
@ -43,6 +44,7 @@ const MessagesHeader = () => {
|
|
|
|
|
没有WhatsApp号码
|
|
|
|
|
</Typography.Text>
|
|
|
|
|
)}
|
|
|
|
|
<Spin spinning={msgListLoading} />
|
|
|
|
|
</Flex>
|
|
|
|
|
<Flex vertical={true} justify='space-between'>
|
|
|
|
|
<Typography.Text>{/* <LocalTimeClock /> <Typography.Text strong>{order?.location} </Typography.Text> */}</Typography.Text>
|
|
|
|
|