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