lrf402788946 4 년 전
부모
커밋
f7945a1c4e
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/layout/common/share.vue

+ 3 - 2
src/layout/common/share.vue

@@ -37,7 +37,8 @@ export default {
       const res = await this.jsAuth({ url });
       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/api/article/auth?redirect_uri=http://broadcast.waityou24.cn/articlemobile' + this.route;
+        const shareUrl = 'http://broadcast.waityou24.cn/articlemobile';
         this.$wx.config({
           debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
           appId: data.appid, // 必填,公众号的唯一标识
@@ -53,7 +54,7 @@ export default {
           this.$wx.updateAppMessageShareData({
             title: this.title,
             desc: this.desc,
-            imgUrl: this.img,
+            // imgUrl: this.img,
             link: shareUrl,
             success: res => {
               console.log(res);