worldsoon

Results 7 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) }, },...

> 由于创建的代码片段超过最大限制,所以只能详述复现步骤。 > > ## 复现步骤 > ### 1. 创建代码片段 > AppID选择一个,因为要在手机调试,模拟器复现不出来 > > > ### 2. 安装 tdesign > 参照 [快速开始](https://tdesign.tencent.com/miniprogram/getting-started),安装 tdesign、构建 npm、勾选 将 JS 编译成 ES5。 > >...