diff --git a/ui/src/views/application-overview/index.vue b/ui/src/views/application-overview/index.vue index 5d4409fdc..837c5f65e 100644 --- a/ui/src/views/application-overview/index.vue +++ b/ui/src/views/application-overview/index.vue @@ -362,11 +362,13 @@ function getAppStatistics() { loadSharedApi({type: 'application', systemType: apiType.value}) .getTokenUsage(id, daterange.value, statisticsLoading) .then((res: any) => { + // [{'token_usage': 200, 'username': '张三'}, ...] tokenUsage.value = res.data }) loadSharedApi({type: 'application', systemType: apiType.value}) .topQuestions(id, daterange.value, statisticsLoading) .then((res: any) => { + // [{'chat_record_count': 200, 'username': '张三'}, ...] topQuestions.value = res.data }) }