From edaeac0f0743169790e6567250711d43404c807a Mon Sep 17 00:00:00 2001 From: ulleo Date: Thu, 24 Jul 2025 19:03:34 +0800 Subject: [PATCH] fix: predict data display --- frontend/src/views/chat/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 5f6571d2..514d4db6 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -569,7 +569,7 @@ function getChatPredictData(recordId?: number) { chatApi.get_chart_predict_data(recordId).then((response) => { currentChat.value.records.forEach((record) => { if (record.id === recordId) { - record.predict_data = response + record.predict_data = response.data ?? [] } }) })