Commit cb5c861a authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 恢复端口号

parent 2f7b3366
......@@ -371,7 +371,7 @@ const PurchasInfo: React.FC<PurchasInfoPropsType> = (props) => {
const handleMallSelectChange = (val, option) => {
setDoor(option.children);
if (option.url) {
checkUrl(option.url) ? (!isEmpty(shopInfo) ? setResUrl(`${checkUrl(option.url)}.${getTopDomainByHost(siteUrl, true)}/shopIndex/${shopInfo?.id}`) : setResUrl(`${checkUrl(option.url)}.${getTopDomainByHost(siteUrl, true)}`)) : setResUrl(`${siteUrl}`)
checkUrl(option.url) ? (!isEmpty(shopInfo) ? setResUrl(`${checkUrl(option.url)}.${getTopDomainByHost(siteUrl, false)}/shopIndex/${shopInfo?.id}`) : setResUrl(`${checkUrl(option.url)}.${getTopDomainByHost(siteUrl, true)}`)) : setResUrl(`${siteUrl}`)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment