We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支付宝小程序
https://github.com/fanlvwen/demo/blob/main/setState%20err 小程序基础库: 1.24.10 使用框架: Nerv
重现链接中的代码直接运行 npm run dev:alipay 即可复现 打印皆为undefined
注释掉996行的第一个setState,打印正常
多次setState能正常打印
多次setState打印undefined
Taro CLI 3.2.13 environment info: System: OS: Windows 10 Binaries: Node: 14.17.1 - D:\nodejs\node.EXE Yarn: 1.22.10 - C:\Users\user\AppData\Roaming\npm\yarn.CMD npm: 6.14.13 - D:\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
@fanlvwen 是 nervjs 的问题,React 没有这个问题。
nervjs 不够人力维护了,建议换成 React 吧。
@Chen-jj 定位到问题了,还是nervjs的原因,将framework换成react就好了 这个 #9597 也是同样的问题,我切到react上就好了
luckyadam
No branches or pull requests
相关平台
支付宝小程序
复现仓库
https://github.com/fanlvwen/demo/blob/main/setState%20err
小程序基础库: 1.24.10
使用框架: Nerv
复现步骤
重现链接中的代码直接运行 npm run dev:alipay 即可复现 打印皆为undefined
注释掉996行的第一个setState,打印正常
期望结果
多次setState能正常打印
实际结果
多次setState打印undefined
环境信息
The text was updated successfully, but these errors were encountered: