From e6d489ec0d6488025bbc0d7f3e526b9557db614e Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Thu, 12 Jan 2023 18:16:39 +0800 Subject: [PATCH] =?UTF-8?q?(ID1001127=E8=B7=B3=E8=BD=AC=E5=88=B0=E8=9E=BA?= =?UTF-8?q?=E7=BA=B9=E9=9D=A2=E6=96=99=E8=AF=A6=E6=83=85=E9=A1=B5):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/details/components/orderCount/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/details/components/orderCount/index.tsx b/src/pages/details/components/orderCount/index.tsx index da3bed6..a802ec5 100644 --- a/src/pages/details/components/orderCount/index.tsx +++ b/src/pages/details/components/orderCount/index.tsx @@ -20,6 +20,7 @@ import LabAndImg from '@/components/LabAndImg' import useCommonData from '@/use/useCommonData' import LabAndImgShow from '@/components/LabAndImgShow' import IconFont from '@/components/iconfont/iconfont' +import { goLink } from '@/common/common' interface param { show?: true | false @@ -328,12 +329,16 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first } }, [show]) + const onNavigator = () => { + if (recommendStatus) { goLink('/pages/details/index', { id: productId }) } + } + return ( closePopup()}> - + {recommendStatus ? recom_title : title}