1 parent a0f7fb2 commit 6087c56Copy full SHA for 6087c56
1 file changed
frontend/src/views/chat/answer/PredictAnswer.vue
@@ -217,7 +217,7 @@ function getChatPredictData(recordId?: number) {
217
has = true
218
record.predict_data = response ?? []
219
220
- if (record.predict_data.length > 1) {
+ if (record.predict_data.length > 0) {
221
getChatData(recordId)
222
} else {
223
loadingData.value = false
0 commit comments