From 44fa196bd7030d703dacd29af68b25f7aa161f6e Mon Sep 17 00:00:00 2001 From: tangweijie <877588133@qq.com> Date: Tue, 27 Jan 2026 12:11:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E4=BF=AE=E5=A4=8D=E5=88=91?= =?UTF-8?q?=E6=9C=9F=E6=80=BB=E5=A4=A9=E6=95=B0=E6=98=BE=E7=A4=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 前端使用后端返回的 sentenceDays 字段而非 servedDays - 修复后刑期总天数显示正确(1276天而非错误的743天) --- src/views/Dashboard/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Dashboard/Index.vue b/src/views/Dashboard/Index.vue index f9f8eaed..531f9fcb 100644 --- a/src/views/Dashboard/Index.vue +++ b/src/views/Dashboard/Index.vue @@ -396,7 +396,7 @@ const loadData = async (prisonerId: number) => { prisonNumber: res.prisonerNo || '', sentenceStart: res.imprisonmentDate || '', sentenceEnd: res.releaseDate || '', - sentenceDays: res.servedDays || 0, + sentenceDays: res.sentenceDays || 0, age: res.age || 0, hometown: res.nativePlace || '', education: res.education || '',