diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index f8ca4e4..4db9d06 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -753,7 +753,7 @@ }, setOpenShare: function () { var data = this.storeInfo; - var href = location.href; + var href = this.location.href; if (this.$deviceType == "weixin") { if (this.isLogin) { getUserInfo().then((res) => {