Browse Source

commit

master
yyy9608 11 months ago
parent
commit
34ee0f63da
  1. 2
      src/components/ProductInfo.tsx

2
src/components/ProductInfo.tsx

@ -24,7 +24,7 @@ const ProductInfo = (props: ProductInfoProps) => {
const [visibleTime, setVisibleTime] = useState(false) const [visibleTime, setVisibleTime] = useState(false)
const share = () => { const share = () => {
const pathname = `${process.env.REACT_APP_SHARE_LINK}detail?id=${data.id}&type=${data.type}`
const pathname = `${window.origin}/#/detail?id=${data.id}&type=${data.type}`
copy(pathname) copy(pathname)
setVisible(true) setVisible(true)
} }

Loading…
Cancel
Save