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}