From 0f91cf4347ea60f6a83561b6d23a9a29f1229301 Mon Sep 17 00:00:00 2001 From: yuj Date: Fri, 5 Dec 2025 16:37:03 +0800 Subject: [PATCH] =?UTF-8?q?fix():=20=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E7=AE=A1=E7=90=86=E5=9B=9B=E4=B8=AA=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=B8=80=E7=9B=B4=E6=98=BE=E7=A4=BA0=E7=9A=84bug?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E5=8F=8D=E9=A6=88=E5=86=85=E5=AE=B9=E7=9A=84?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=B8=8D=E6=9B=B4=E6=96=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env.example | 3 ++- src/pages/UserFeedback.tsx | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/env.example b/env.example index ee25667..4967385 100644 --- a/env.example +++ b/env.example @@ -12,4 +12,5 @@ VITE_APP_VERSION=1.0.0 VITE_ENABLE_DEVTOOLS=true # Mock 数据 -VITE_USE_MOCK=false +VITE_USE_ +MOCK=false diff --git a/src/pages/UserFeedback.tsx b/src/pages/UserFeedback.tsx index 827ca81..709f21c 100644 --- a/src/pages/UserFeedback.tsx +++ b/src/pages/UserFeedback.tsx @@ -12,7 +12,6 @@ import { Image, Row, Col, - Statistic, DatePicker, Drawer, Typography, @@ -312,22 +311,34 @@ const UserFeedback: React.FC = () => { - +
+
总反馈数
+
{statistics.total}
+
- +
+
未处理
+
{statistics.unhandled}
+
- +
+
已处理
+
{statistics.handled}
+
- +
+
今日新增
+
{statistics.today_count}
+