Authored by 郭成尧

分享

... ... @@ -70,10 +70,11 @@
this.shopInfo.showBrandInfo = true;
this.shareData = {
title: result.brandName,
link: '/brand-share?domain=' + this.domain,
des: result.brandIntro,
url: '/product/brand-share?domain=' + this.domain,
img: result.brandBg,
shopId: result.shopId,
isFav: result.isFav
shopId: result.shopId, // 不是分享的参数,收藏店铺使用
isFav: result.isFav // 不是分享的参数,收藏店铺使用
};
} else {
this.shopInfo.showBrandInfo = false;
... ...
... ... @@ -56,6 +56,10 @@
},
methods: {
goShare() {
// 删除两个多余的参数,两个参数是收藏时使用的
delete this.shareData.shopId;
delete this.shareData.isFav;
yoho.goShare(this.shareData, function() {}, function() {});
},
goBack() {
... ...