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
amis-editor-demo编辑器无法监听到页面数据的实时变化,能够监听到,但获取到的一直都是旧数据
请用一段清晰简洁的文字描述问题是什么...
可以的话,尽可能提供截图或视频来补充描述你的问题...
sdk
npm
其他
amis schema
code here...
reaction( () => getSnapshot(self.pages), pages => { if (timer) clearTimeout(timer) timer = setTimeout(() => { watchPage(pages) }, time); }, );
The text was updated successfully, but these errors were encountered:
示例图
Sorry, something went wrong.
仍然没有找到问题出处,使用reaction确实监听不到了最新数据,但是找到了对应的解决方法。改变监听规则,不再是reaction监听所有页面的内容变化,而是监听当前页面内容schema,只要变化就请求更新当前页面的最新数据
No branches or pull requests
描述问题:
amis-editor-demo编辑器无法监听到页面数据的实时变化,能够监听到,但获取到的一直都是旧数据
请用一段清晰简洁的文字描述问题是什么...
截图或视频:
可以的话,尽可能提供截图或视频来补充描述你的问题...
如何复现(请务必完整填写下面内容):
sdk
、npm
或其他
...amis-editor-demo编辑器
6.7.0
amis schema
代码:请简单描述一下复现的操作步骤...
修改页面,会监听到但数据不是最新的
The text was updated successfully, but these errors were encountered: