zhujindu 11 miesięcy temu
rodzic
commit
25ad7b6e06
3 zmienionych plików z 0 dodań i 14 usunięć
  1. 0 1
      public/index.html
  2. 0 1
      src/main.js
  3. 0 12
      src/views/home/index.vue

+ 0 - 1
public/index.html

@@ -38,7 +38,6 @@
     </script>
     <script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
     <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
-    <script src="https://wwcdn.weixin.qq.com/node/open/js/wecom-jssdk-2.0.2.js"></script>
     <!--生产、uat-->
     <script
       charset="utf-8"

+ 0 - 1
src/main.js

@@ -49,7 +49,6 @@ Vue.prototype.CJ02BD = CJ02BD;
 Vue.prototype.gcj02BD = gcj02BD;
 Vue.prototype.twoPointSum = twoPointSum;
 Vue.prototype.wx = wx;
-Vue.prototype.ww = ww;
 Vue.prototype.parseTimeParagraph = parseTimeParagraph;
 Vue.prototype.Micrometer = Micrometer;
 Vue.prototype.verifyStoreType = verifyStoreType;

+ 0 - 12
src/views/home/index.vue

@@ -76,18 +76,6 @@ export default {
     }
   },
   created() {
-    this.ww.onMenuShareAppMessage({
-      title: '企业微信',
-      desc: '让每个企业都有自己的微信',
-      link: 'https://work.weixin.qq.com/',
-      imgUrl: 'https://res.mail.qq.com/node/ww/wwmng/style/images/index_share_logo$13c64306.png',
-      success() {
-        // 用户确认分享后回调
-      },
-      cancel() {
-        // 用户取消分享后回调
-      },
-    });
     getTicketFun(['onMenuShareAppMessage']).then((res) => {
       this.wx.ready(() => {
         console.log('this.wx.ready');