Commit c147ba53 authored by chenghong_tao's avatar chenghong_tao

fix loading

parent 4115f646
......@@ -92,6 +92,12 @@ const getInputHeight = (height) => {
const loadingFinished = ref(false)
const messageFinished = (status) => {
loadingFinished.value = status
if (!status) {
loadingFinished.value = true
nextTick(() => {
loadingFinished.value = status
})
}
if (status) {
nextTick(() => {
scrollToBottom()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment