yanxi123-com / weixin-js-sdk

微信官方 JS-SDK 的 CommonJS 版本,支持 TypeScript
https://www.npmjs.com/package/weixin-js-sdk
MIT License
574 stars 132 forks source link

wx.config is not defound #23

Closed Jwiayou closed 1 year ago

Jwiayou commented 6 years ago

image

Jwiayou commented 6 years ago

wx 对象输出为空

yanxi123-com commented 6 years ago

已经修复此问题,请升级至 weixin-js-sdk@1.3.3

kunkuntang commented 6 years ago

image image

when I update to 1.3.3 version, the problem still appeared.

yanxi123-com commented 6 years ago

可能是你的依赖也引入过这个库导致的。

试试: const wx = window.jWeixin || require('weixin-js-sdk')

yanxi123-com commented 1 year ago

最新的版本已解决重复引入包的问题