Skip to content

Commit 6087c56

Browse files
committed
fix: fix predict data chart missing problem in record list
1 parent a0f7fb2 commit 6087c56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/views/chat/answer/PredictAnswer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function getChatPredictData(recordId?: number) {
217217
has = true
218218
record.predict_data = response ?? []
219219
220-
if (record.predict_data.length > 1) {
220+
if (record.predict_data.length > 0) {
221221
getChatData(recordId)
222222
} else {
223223
loadingData.value = false

0 commit comments

Comments
 (0)