From b530d80471c199afd856cc16bf10d171a3c3c0a8 Mon Sep 17 00:00:00 2001 From: youmengting <2080639302@qq.com> Date: Wed, 14 Jun 2023 11:23:31 +0800 Subject: [PATCH] share-11:23 --- common/share.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') {