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

Co-authored-by: peng.chen <peng.chen@freemud.com>
main
vchenpeng 2 years ago committed by GitHub
parent e2ad3fe248
commit 5594b0baa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save