fix: 空引用显示undefined (#1103)

Co-authored-by: peng.chen <peng.chen@freemud.com>
This commit is contained in:
vchenpeng 2023-04-03 08:48:59 +08:00 committed by GitHub
parent e2ad3fe248
commit 5594b0baa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ async function onConversation() {
dataSources.value.length - 1, dataSources.value.length - 1,
{ {
dateTime: new Date().toLocaleString(), dateTime: new Date().toLocaleString(),
text: lastText + data.text ?? '', text: lastText + (data.text ?? ''),
inversion: false, inversion: false,
error: false, error: false,
loading: true, loading: true,