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

先去掉出问题的地方,调试微信分享

上级 2c7c18aa
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
// baseUrl: BASE_URL[process.env.NUXT_ENV_APP], // baseUrl: BASE_URL[process.env.NUXT_ENV_APP],
baseUrl: 'https://test1-sc.yunqueyi.com', baseUrl: 'https://test1-sc.yunqueyi.com',
type: 15, type: 15,
authUrl: decodeURIComponent(encodeURIComponent(this.shareObj.shareUrl)), authUrl: decodeURIComponent(this.shareObj.shareUrl),
isDebug: false, isDebug: false,
jsApiList: [ jsApiList: [
'onMenuShareTimeline', 'onMenuShareTimeline',
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
},(wx)=>{ },(wx)=>{
const title = this.shareObj.title1; const title = this.shareObj.title1;
const desc = this.shareObj.title2; const desc = this.shareObj.title2;
const link = decodeURIComponent(encodeURIComponent(this.shareObj.shareUrl)); const link = decodeURIComponent(this.shareObj.shareUrl);
const imgUrl = this.shareObj.shareImageUrl; const imgUrl = this.shareObj.shareImageUrl;
// 分享给朋友 // 分享给朋友
wx.onMenuShareAppMessage({ wx.onMenuShareAppMessage({
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
// baseUrl: BASE_URL[process.env.NUXT_ENV_APP], // baseUrl: BASE_URL[process.env.NUXT_ENV_APP],
baseUrl: 'https://test1-sc.yunqueyi.com', baseUrl: 'https://test1-sc.yunqueyi.com',
type: 15, type: 15,
authUrl: decodeURIComponent(encodeURIComponent(this.shareObj.shareUrl)), authUrl: decodeURIComponent(this.shareObj.shareUrl),
isDebug: false, isDebug: false,
jsApiList: [ jsApiList: [
'onMenuShareTimeline', 'onMenuShareTimeline',
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
},(wx)=>{ },(wx)=>{
const title = this.shareObj.title1; const title = this.shareObj.title1;
const desc = this.shareObj.title2; const desc = this.shareObj.title2;
const link = decodeURIComponent(encodeURIComponent(this.shareObj.shareUrl)); const link = decodeURIComponent(this.shareObj.shareUrl);
const imgUrl = this.shareObj.shareImageUrl; const imgUrl = this.shareObj.shareImageUrl;
// 分享给朋友 // 分享给朋友
wx.onMenuShareAppMessage({ wx.onMenuShareAppMessage({
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册