zhengnaiwen_citu 10 mesiacov pred
rodič
commit
7e1e11f775

+ 1 - 1
src/views/recruit/components/message/index.vue

@@ -114,6 +114,7 @@ const { conversationList } = initConnect(async (successful) => {
     Snackbar.error('发送失败')
     Snackbar.error('发送失败')
     return
     return
   }
   }
+  chatRef.value.reset()
   // 发送成功
   // 发送成功
   const { list } = await getMoreMessages(1, channelItem.value)
   const { list } = await getMoreMessages(1, channelItem.value)
   messageItems.value = list.value
   messageItems.value = list.value
@@ -154,7 +155,6 @@ const info = ref({})
 
 
 const handleUpdate = (val) => {
 const handleUpdate = (val) => {
   send(val.value, channelItem.value)
   send(val.value, channelItem.value)
-  chatRef.value.reset()
 }
 }
 
 
 const handleSearch = () => {
 const handleSearch = () => {