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
列如我这样用,
<van-list ref="vanListRef" v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad" class="list" > <template #default> <VueVirtList :itemKey="itemKey" :list="list" > <template #default="{ itemData, index }"> <slot v-bind="itemData"></slot> </template> </VueVirtList> </template> </van-list>
想让第三方的vant的列表就可以支持虚拟滚动
我刚这样用了一下,直接就是乱了
The text was updated successfully, but these errors were encountered:
什么的场景需要这样嵌套
Sorry, something went wrong.
移动端列表,使用vant库,已经包装好的代码,现在数据量上去了,就是想吧列表替换成虚拟滚动
不能用vant-list,它本身就是一个list组件,和虚拟列表是冲突的。建议要用的话,自己实现以下vant-list的样式交互即可
我考虑过用虚拟列表去实现vant-list 但是实际上vant-list他不是一个列表,他是用来处理分页数据请求用的组件
这个有点麻烦的。不如用virt-list来实现一个分页功能比较简单。试试看?demo其实有的
No branches or pull requests
列如我这样用,
想让第三方的vant的列表就可以支持虚拟滚动
我刚这样用了一下,直接就是乱了
The text was updated successfully, but these errors were encountered: