From f659bfb591b996879ad21e0574ba38df79f2fc76 Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Wed, 1 Mar 2023 18:46:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1001415=E8=BF=9B=E5=8E=BB?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=9C=80=E8=A6=81=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=B8=80=E4=B8=8B=E6=89=8D=E5=91=88=E7=8E=B0):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/details/index.tsx b/src/pages/details/index.tsx index 18f9b6b..7450fb3 100644 --- a/src/pages/details/index.tsx +++ b/src/pages/details/index.tsx @@ -343,7 +343,7 @@ const Details = (props: Params) => { {item.name} {formatPriceDiv(item.bulk_price)}/Kg{ - (currentDialogDetail.current!.last_bulk_price && currentDialogDetail.current!.bulk_price !== currentDialogDetail.current!.last_bulk_price) ? (item.bulk_price > item.last_bulk_price) ? : : null + (item!.last_bulk_price && item!.bulk_price !== item!.last_bulk_price) ? (item.bulk_price > item.last_bulk_price) ? : : null } )