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
Version information (版本信息)
Describe the bug (描述问题) 当使用打字机效果更新当前的一条消息的时候 消息的计数逻辑会一直增加+1导致显示的消息数对不上
Steps To Reproduce (重现步骤)
查看源码逻辑是这儿有问题
Link to minimal reproduction (最小化重现链接) codesandbox 的链接地址 为 https://codesandbox.io/p/sandbox/chatui-demo-forked-fsy89q?file=%2Fsrc%2FApp.js%3A57%2C22 Expected behavior (期望的结果是什么) 期望可以正常更新 当前的消息数是按照消息的条数来更新的不是更新了原来的数据内容而导致计数 逻辑上不成立
The text was updated successfully, but these errors were encountered:
辛苦大佬关注一下这个问题 🙏🙏
Sorry, something went wrong.
+1,有遇到过这个问题
这里将lastMessage 换成 messages.length 就可以了
No branches or pull requests
Version information (版本信息)
Describe the bug (描述问题)
当使用打字机效果更新当前的一条消息的时候 消息的计数逻辑会一直增加+1导致显示的消息数对不上
Steps To Reproduce (重现步骤)
查看源码逻辑是这儿有问题
Link to minimal reproduction (最小化重现链接)
codesandbox 的链接地址 为 https://codesandbox.io/p/sandbox/chatui-demo-forked-fsy89q?file=%2Fsrc%2FApp.js%3A57%2C22
Expected behavior (期望的结果是什么)
期望可以正常更新 当前的消息数是按照消息的条数来更新的不是更新了原来的数据内容而导致计数 逻辑上不成立
The text was updated successfully, but these errors were encountered: