|
@@ -453,8 +453,6 @@ async function handleChange (items) {
|
|
|
const { channel, list, more } = await initChart(userId, enterpriseId)
|
|
|
// console.log('--------',list)
|
|
|
channelItem.value = channel.value
|
|
|
- // 获取最近职位记录
|
|
|
- getMessageTypeSync()
|
|
|
messageItems.value = list.value
|
|
|
hasMore.value = more
|
|
|
chatRef.value.scrollBottom()
|
|
@@ -462,6 +460,8 @@ async function handleChange (items) {
|
|
|
await resetUnread(channel.value, entBaseInfo?.enterpriseId)
|
|
|
await updateConversation()
|
|
|
updateUnreadCount()
|
|
|
+ // 获取最近职位记录
|
|
|
+ getMessageTypeSync()
|
|
|
} catch (error) {
|
|
|
messageItems.value = []
|
|
|
} finally {
|