-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
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
更新v-model绑定的数据,内部$nextTick回调函数没有调用 #185
Labels
question
Further information is requested
Comments
看看我的完整示例,不要滚动页面,就只轮询;
20250214_093605.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
** 请描述您在使用期间遇到的疑问 **
hbuilderX:4.45,微信小程序
我的业务场景:使用虚拟列表滚动分页,需要从接口轮询更新排序
具体操作:v-model绑定数据,通过轮询,修改了v-model绑定的数据后,看源码会触发
updateVirtualListRender
方法,但内部的nextTick回调没有被调用,是uni-app的bug?理应是每次都会被调用的吧初步猜测是uni-app的bug,
简单实现,修改示例代码
virtual-list-no-inner-demo.vue
:添加如下方法:
简单调用:
添加日志:
微信小程序实际表现:😦???nextTick回调怎么没有被调用
H5表现:
The text was updated successfully, but these errors were encountered: