SmileZXLee / uni-z-paging

【uni-app下拉刷新、上拉加载】高性能,全平台兼容。支持vue、nvue、vue2、vue3,使用wxs+renderjs实现。支持虚拟列表,支持自定义下拉刷新、上拉加载更多,支持自动管理空数据图、点击返回顶部,支持聊天分页、本地分页,支持国际化等100+项配置
https://z-paging.zxlee.cn
MIT License
842 stars 69 forks source link

虚拟列表,点击加载更多, virtualListChange获取到的数据不是新的 #144

Open changeevering opened 2 months ago

changeevering commented 2 months ago

请描述您在使用期间遇到的疑问 1、使用虚拟列表小程序会报 : Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./uni_modules/z-paging/components/z-paging/z-paging.wxss:73:48) 2、const virtualListChange = (vList) => { console.log(vList, 'vList-----') listx.value = vList } 打印出来的vList不是新的

Snipaste_2024-06-27_14-56-36

SmileZXLee commented 2 months ago

1.Some selectors are not allowed in component wxss...这个警告不影响使用,忽视即可。
2.打印出来是当前需要渲染的list,不是全部的list