From 5c2c5024b4d4b78e8e03f476ed4ce64062cd9e12 Mon Sep 17 00:00:00 2001 From: fengchengzhi Date: Fri, 21 Sep 2018 02:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/poster.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/view/poster.vue b/src/view/poster.vue index 2d10424..2a4e845 100644 --- a/src/view/poster.vue +++ b/src/view/poster.vue @@ -256,13 +256,13 @@ var urls = encodeURIComponent(location.href) var imgUrl = encodeURIComponent(this.imgUrl) if ( sourceType == 2 ){ //指定优惠券 - this.wxShare({"couponNo":coupon,"source":10,"url":urls,imgUrl:imgUrl}) + this.wxShare({"couponNo":coupon,"source":10,"url":urls,"imgUrl":imgUrl}) } else if( sourceType == 1) { //通过商户默认推荐 - this.wxShare({"merchantNo":merchantNo,"source":10,"url":urls,imgUrl:imgUrl}) + this.wxShare({"merchantNo":merchantNo,"source":10,"url":urls,"imgUrl":imgUrl}) } else if (sourceType == 3){ //通过别人分享 - this.wxShare({"source":40,"url":urls,imgUrl:this.imgUrl}) + this.wxShare({"source":40,"url":urls,imgUrl:imgUrl}) } else { - this.wxShare({"merchantNo":this.merchantNo,"source":10,"url":urls,imgUrl:imgUrl}) + this.wxShare({"merchantNo":this.merchantNo,"source":10,"url":urls,"imgUrl":imgUrl}) } }