分享问题修复
This commit is contained in:
@@ -2588,10 +2588,13 @@
|
||||
const pTag=returnPageTags(shareSwiperItem.value.jumpPagePath)
|
||||
let query = jsonToUrl(queryJson)
|
||||
query +=('&'+shareSwiperItem.value.extendParam)
|
||||
const shopName = uni.cache.get('shopInfo').shopName || ''
|
||||
const path=shareSwiperItem.value.jumpPagePath?shareSwiperItem.value.jumpPagePath:'/pages/product/index?type=beforehand'
|
||||
console.log('path',path);
|
||||
const json={
|
||||
imageUrl:shareSwiperItem.value.imageUrl,
|
||||
path: shareSwiperItem.value.jumpPagePath+'&'+query,
|
||||
title:shareSwiperItem.value.name,
|
||||
path: path+'&'+query,
|
||||
title:shareSwiperItem.value.name+ (shopName ? `-${shopName}` : ''),
|
||||
}
|
||||
if(pTag==='pp-detail'){
|
||||
json.path=json.path.replace('goodsId','id')
|
||||
|
||||
Reference in New Issue
Block a user