From a0dd6542f8ea16c55e0515fdb70915719f4e83e4 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 27 Oct 2025 11:27:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=90=A5=E5=85=BB=E5=88=86=E6=9E=90-?= =?UTF-8?q?=E6=9C=AC=E6=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/abnormal-event-type-status.vue | 10 ---------- src/views/nutrition.vue | 6 +++--- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/components/abnormal-event-type-status.vue b/src/components/abnormal-event-type-status.vue index fcd1582..031950c 100644 --- a/src/components/abnormal-event-type-status.vue +++ b/src/components/abnormal-event-type-status.vue @@ -6,16 +6,6 @@ -
{ if (dateRangeType === "THIS_MONTH") { timerObj.nutritionAnalyse.data.data = { THIS_MONTH: data[dataKeys[0]]?.list?.map((v) => { - const hcCount = data.hc?.list.find((item) => item.time === item.time)?.buyProductCount ?? 0 - const scCount = data.sc?.list.find((item) => item.time === item.time)?.buyProductCount ?? 0 - const zsCount = data.zs?.list.find((item) => item.time === item.time)?.buyProductCount ?? 0 + const hcCount = data.hc?.list.find((item) => item.time === v.time)?.buyProductCount ?? 0 + const scCount = data.sc?.list.find((item) => item.time === v.time)?.buyProductCount ?? 0 + const zsCount = data.zs?.list.find((item) => item.time === v.time)?.buyProductCount ?? 0 return { day: v.time.slice(-2), type: 0,