fix: fix predict data chart missing problem in record list

This commit is contained in:
ulleo
2026-07-09 15:55:31 +08:00
committed by ulleo
parent a0f7fb2488
commit a2196d9c3e
@@ -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