From db6433693a20909d641cdf18301e2bb80126d072 Mon Sep 17 00:00:00 2001 From: lbw_9527443 <780139497@qq.com> Date: Wed, 22 Oct 2025 17:38:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(topone):=20=E4=BF=AE=E5=A4=8D=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E4=BC=98=E7=A7=80=E8=AE=B0=E5=BD=95=E6=97=B6=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=95=B0=E6=8D=AE=E6=A0=BC=E5=BC=8F=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 返回数据应从res.data.excellent_record_list改为直接返回res.data,以匹配接口返回格式 --- my-vue-app/src/views/topOne/topone.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-vue-app/src/views/topOne/topone.vue b/my-vue-app/src/views/topOne/topone.vue index 8446488..0540fff 100644 --- a/my-vue-app/src/views/topOne/topone.vue +++ b/my-vue-app/src/views/topOne/topone.vue @@ -675,7 +675,7 @@ const params={ const cacheKey = getCacheKey('CenterExcellentRecord', params); const result = await withCache(cacheKey, async () => { const res = await getExcellentRecordFile(params); - return res.data.excellent_record_list; + return res.data; }); excellentRecord.value = result; console.log(111111,result);