We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b122a47 commit edaeac0Copy full SHA for edaeac0
frontend/src/views/chat/index.vue
@@ -569,7 +569,7 @@ function getChatPredictData(recordId?: number) {
569
chatApi.get_chart_predict_data(recordId).then((response) => {
570
currentChat.value.records.forEach((record) => {
571
if (record.id === recordId) {
572
- record.predict_data = response
+ record.predict_data = response.data ?? []
573
}
574
})
575
0 commit comments