From d1d470ce66a7435b8628b7a72e17a9cb8ab9fdee Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Tue, 28 Feb 2023 19:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1001403=20=E9=9D=A2?= =?UTF-8?q?=E6=96=99=E8=AF=A6=E6=83=85=E9=A1=B5=EF=BC=8C=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E4=B8=8E=E4=B8=8A=E4=B8=80=E6=AC=A1=E4=BB=B7=E6=A0=BC=E7=9B=B8?= =?UTF-8?q?=E7=AD=89=EF=BC=8C=E6=9C=89=E7=9A=84=E6=98=BE=E7=A4=BA=E6=B6=A8?= =?UTF-8?q?=EF=BC=8C=E6=9C=89=E7=9A=84=E6=98=BE=E7=A4=BA=E8=B7=8C):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/details/index.tsx b/src/pages/details/index.tsx index e97a32b..18f9b6b 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{ - item.length_cut_price ? (item.bulk_price > item.length_cut_price) ? : : null + (currentDialogDetail.current!.last_bulk_price && currentDialogDetail.current!.bulk_price !== currentDialogDetail.current!.last_bulk_price) ? (item.bulk_price > item.last_bulk_price) ? : : null } ) @@ -416,7 +416,7 @@ const Details = (props: Params) => { ¥{formatPriceDiv(currentDialogDetail.current!.bulk_price)}/KG { - currentDialogDetail.current!.length_cut_price ? (currentDialogDetail.current!.bulk_price > currentDialogDetail.current!.length_cut_price) ? : : null + (currentDialogDetail.current!.last_bulk_price && currentDialogDetail.current!.bulk_price !== currentDialogDetail.current!.last_bulk_price) ? (currentDialogDetail.current!.bulk_price > currentDialogDetail.current!.last_bulk_price) ? : : null }