提交 6a047535 编写于 作者: tao.wu's avatar tao.wu

调试微信分享问题

上级 4e46b745
此差异已折叠。
......@@ -96,12 +96,13 @@
this.checkCache();
// 微信分享
this.shareObj.shareUrl = window.location.href;
window.localStorage.setItem('shareUrl', decodeURIComponent(this.shareObj.shareUrl));
// window.localStorage.setItem('shareUrl', decodeURIComponent(this.shareObj.shareUrl);
this.$picaWxShare({
// baseUrl: BASE_URL[process.env.NUXT_ENV_APP],
baseUrl: 'https://test1-sc.yunqueyi.com',
type: 15,
authUrl: decodeURIComponent(this.shareObj.shareUrl),
authUrl: 'https://dev-phome.yunqueyi.com/year_end_ssr/shareActive?id=iRHw8t%2FpzgUM6TWi8UONRA%3D%3D&taskId=1&activityId=1',
isEncode: false,
isDebug: false,
jsApiList: [
'onMenuShareTimeline',
......@@ -110,7 +111,7 @@
},(wx)=>{
const title = this.shareObj.title1;
const desc = this.shareObj.title2;
const link = decodeURIComponent(this.shareObj.shareUrl);
const link = this.shareObj.shareUrl;
const imgUrl = this.shareObj.shareImageUrl;
// 分享给朋友
wx.onMenuShareAppMessage({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册