diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index 7790f43..d2cd76a 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -128,7 +128,7 @@ async function onConversation() { dataSources.value.length - 1, { dateTime: new Date().toLocaleString(), - text: lastText + data.text ?? '', + text: lastText + (data.text ?? ''), inversion: false, error: false, loading: true,