diff --git a/common/share.js b/common/share.js index ca2660b..a32da9a 100644 --- a/common/share.js +++ b/common/share.js @@ -30,8 +30,6 @@ export default { that.localPath = window.location.href; that.shareLink = app.globalData.h5url + '?accountId=0000016&key=&code=' + that.localPath.split('#')[1]; - that.$set(this.shareH5,"link",that.shareLink) - console.log(that.shareLink,"that.shareLink"); let datas = { url: that.localPath.split('#')[0] } @@ -55,6 +53,8 @@ export default { if(!that.resVerifyWx){ return } + that.$set(this.shareH5,"link",that.shareLink) + console.log(that.shareLink,"that.shareLink"); let wx = require('weixin-js-sdk'); // console.log(that.resVerifyWx,"h5ShareMethod"); if (that.resVerifyWx.return_code == '000000') {