From 6087c5626fbca37ccd9dbbad29fae94aafa00b73 Mon Sep 17 00:00:00 2001 From: ulleo Date: Thu, 9 Jul 2026 15:54:19 +0800 Subject: [PATCH] fix: fix predict data chart missing problem in record list --- frontend/src/views/chat/answer/PredictAnswer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/chat/answer/PredictAnswer.vue b/frontend/src/views/chat/answer/PredictAnswer.vue index a8df7f88..3dbab3a7 100644 --- a/frontend/src/views/chat/answer/PredictAnswer.vue +++ b/frontend/src/views/chat/answer/PredictAnswer.vue @@ -217,7 +217,7 @@ function getChatPredictData(recordId?: number) { has = true record.predict_data = response ?? [] - if (record.predict_data.length > 1) { + if (record.predict_data.length > 0) { getChatData(recordId) } else { loadingData.value = false