收藏
回答

https://res.wx.qq.com/open/js/jweixin-1.2.0.js 问题

https://res.wx.qq.com/open/js/jweixin-1.2.0.js 文件 上传到公司CDN之后 script标签引入,安卓手机和PC端企业微信使用内部功能(例如chooseImg)不生效,但debug看,chooseImg已经是true的状态了,求解惑

回答关注问题邀请回答
收藏

2 个回答

  • 企业微信运营专员-千夜
    企业微信运营专员-千夜
    2021-08-09

    你好,打开debug=true打印出来的参数是什么,可以打印一下wx对象看下

    2021-08-09
    有用
    回复 8
    • Z、k
      Z、k
      2021-08-09
      {"errMsg":"wx.config:ok","checkResult":{"hideAllNonBaseMenuItem":true,"showAllNonBaseMenuItem":true,"hideOptionMenu":true,"openLocation":false,"previewFile":false,"connectWifi":false,"getWifiList":false,"getConnectedWifi":false,"uploadVoice":false,"startRecord":false,"menu:share:timeline":false,"uploadImage":true,"onHistoryBack":true,"onNetworkStatusChange":false,"menu:share:appmessage":true,"stopAutoLBS":false,"shareWechatMessage":false,"stopWifi":false,"downloadVoice":false,"shareAppMessage":true,"onWifiConnected":false,"closeWindow":true,"onLocationChange":false,"selectExternalContact":false,"onGetWifiList":false,"openEnterpriseChat":true,"onVoiceRecordEnd":false,"pauseVoice":false,"stopRecord":false,"selectEnterpriseContact":true,"getLocalImgData":false,"hideMenuItems":true,"onVoicePlayEnd":false,"startAutoLBS":false,"chooseInvoice":false,"stopVoice":false,"showMenuItems":true,"downloadImage":true,"imagePreview":false,"geoLocation":false,"openUserProfile":true,"openDefaultBrowser":true,"startWifi":false,"setClipboardData":true,"scanQRCode":false,"showOptionMenu":true,"getNetworkType":false,"getCurExternalContact":false,"chooseImage":true,"playVoice":false,"onMenuShareWechat":false}}


      chooseImage是true的状态 但是点击pc和安卓 就是没反应
      2021-08-09
      回复
    • Z、k
      Z、k
      2021-08-09
      js引用https://res.wx.qq.com/open/js/jweixin-1.2.0.js是可以的  但是使用上传公司CDN的链接https://lib.shuidihuzhu.com/jweixin/v1.2.0/jweixin.min.js  pc和安卓就不行了
      2021-08-09
      回复
    • Z、k
      Z、k
      2021-08-09
      您好 有了解是什么情况吗
      2021-08-09
      回复
    • 企业微信运营专员-千夜
      企业微信运营专员-千夜
      2021-08-09回复Z、k
      https://res.wx.qq.com/open/js/jweixin-1.2.0.js js文件是只支持通过script标签在线引入的
      2021-08-09
      回复
    • Z、k
      Z、k
      2021-08-09回复企业微信运营专员-千夜
      我是用script标签引入的https://lib.shuidihuzhu.com/jweixin/v1.2.0/jweixin.min.js
      2021-08-09
      回复
    查看更多(3)
  • 小明猫舍xiaomingmaoshe.com
    小明猫舍xiaomingmaoshe.com
    2022-09-28

    我也遇到这个问题了, 把js原样下载到本地,然后传到公司oos里面去; 居然android不行,苹果可以; 神奇;不知道干了啥事

    2022-09-28
    有用
    回复
登录 后发表内容