worldsoon

Results 6 comments of worldsoon

if I use v4.2.1,it will work well

> what's the content of `'./lib/mqtt'`? ![image](https://github.com/mqttjs/MQTT.js/assets/10103820/52dc4d31-a053-4d3f-9027-28d1ff18b1ae) This is the file for the dist directory after build it. Because WeChatmini programs do not support import by npm, so only be...

> god! me too! why every version not work in WeChat mini program!! goddamn! version 4.2.1 will work that import by bundle file

> what's the content of `'./lib/mqtt'`? In addition, from v4.2.2 to 4.3.7,after reading the source code, I found that it misjudged the environment of wechat and mistaken it for node

我这边也出现同样的问题。 平台:ios WeexSDK: 0.28.0,也试过把weex-toolkit降到1.3.11。查看浏览器日志发现报错 ![image](https://user-images.githubusercontent.com/10103820/92405968-65342e00-f169-11ea-9bc5-90ab41d1df13.png)

``` import { BehaviorWithStore } from 'mobx-miniprogram-bindings' import { userBinding, userStore } from '../../store/index' Component({ behaviors: [BehaviorWithStore({ storeBindings: [userBinding] }), pageBehavior], pageLifetimes: { show() { // isLogin为store里面的变量 console.log(this.data.isLogin) }, },...