|
@@ -44,10 +44,9 @@ export default {
|
|
|
if (this.$checkRes(res)) {
|
|
|
const { data } = res;
|
|
|
// const shareUrl = 'http://broadcast.waityou24.cn/api/article/auth?redirect_uri=http://broadcast.waityou24.cn/articlemobile' + this.route;
|
|
|
- const shareUrl = 'http://broadcast.waityou24.cn/articlemobile';
|
|
|
// 'updateTimelineShareData', // 朋友圈及QQ空间
|
|
|
this.$wx.config({
|
|
|
- debug: false,
|
|
|
+ debug: true,
|
|
|
appId: data.appid,
|
|
|
timestamp: data.timestamp,
|
|
|
nonceStr: data.noncestr,
|
|
@@ -64,6 +63,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async toShare() {
|
|
|
+ const shareUrl = 'http://broadcast.waityou24.cn/articlemobile';
|
|
|
this.$wx.ready(() => {
|
|
|
this.$wx.onMenuShareAppMessage({
|
|
|
title: this.title,
|