Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
项目用的是Mobx状态管理,是否组件内部就用不了setState了吗?
编译成小程序不是this.setData({ })
大致知道原因了
我用的Taro UI <AtSearchBar />发现有这个问题
刚刚测试用了一个<Button></Button>事件就没有问题可以正常使用;;
我的错!!没有 .bind(this) 现在好了,一定要绑定this