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

微信二次分享调整

上级 e27b0f97
......@@ -122,10 +122,11 @@ export default {
// 滚动交互
this.scrollHandle();
// 微信分享
const shareUrl = encodeURIComponent(window.location.href);
this.$picaWxShare({
// baseUrl: BASE_URL[process.env.NUXT_ENV_APP],
baseUrl: 'https://test1-sc.yunqueyi.com',
authUrl: window.location.href,
authUrl: shareUrl,
isDebug: false,
type: 15,
jsApiList: [
......@@ -134,7 +135,6 @@ export default {
'onMenuShareAppMessage'
]
},(wx)=>{
const shareUrl = encodeURIComponent(window.location.href);
// 分享给朋友
wx.onMenuShareAppMessage({
title: this.shareObj.title1,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册