From 15adb29bd32b388cf79cc0090becd966af638077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhuzihan=E2=80=9D=E2=80=83?= <“772644120@qq.com”> Date: Sat, 5 Jul 2025 17:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index 6e124e8..69cebdb 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -439,7 +439,7 @@ const fetchTeacherbData = async (type) => { updateResearcherChart(); } else if (type === 2) { studyData.value = { - datax: keyFields.map(item => ({ name: item.fieldName})), + datax: keyFields.map(item => ({ name: item.fieldName,max: Math.max(...datay)})), datay }; updateStudyChart();