fix: 空引用显示undefined (#1103)
Co-authored-by: peng.chen <peng.chen@freemud.com>
This commit is contained in:
parent
e2ad3fe248
commit
5594b0baa9
|
@ -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…
Reference in New Issue