keno-lee / vue-virt-list

【持续更新中】⚡️ 一个支持vue2&vue3的高性能虚拟(滚动)列表组件 👉🏻 轻量5KB 百万数据渲染 满帧率滚动 丰富场景支持 📑 [vue虚拟列表] [vue虚拟滚动列表][vue虚拟树] [vue-virtual-list] [vue-virtual-scroll-list] [vue-virtual-scroller] [vue-virt-tree]
https://keno-lee.github.io/vue-virt-list/
MIT License
294 stars 39 forks source link

建议暴露index #3

Closed leonhu0710 closed 10 months ago

leonhu0710 commented 11 months ago

建议在模板 slot 中 暴露数据项 的 index, 目前只暴露了 itemData,在有些场景还是需要 index 的

keno-lee commented 10 months ago

建议在模板 slot 中 暴露数据项 的 index, 目前只暴露了 itemData,在有些场景还是需要 index 的

好的。感谢建议,最近会更新一版本 useVirtualList 的高级用法,顺带把index加进去

keno-lee commented 10 months ago

建议在模板 slot 中 暴露数据项 的 index, 目前只暴露了 itemData,在有些场景还是需要 index 的

在v1.3.1中已经新增index参数,并发布了v1.4.0-beta版本,使用高阶用法用来布局table、合并单元格等复杂布局,欢迎体验

leonhu0710 commented 10 months ago

厉害,膜拜大佬

---原始邮件--- 发件人: @.> 发送时间: 2023年12月6日(周三) 中午11:43 收件人: @.>; 抄送: @.**@.>; 主题: Re: [keno-lee/vue-tiny-virtual-list] 建议暴露index (Issue #3)

建议在模板 slot 中 暴露数据项 的 index, 目前只暴露了 itemData,在有些场景还是需要 index 的

在v1.3.1中已经新增index参数,并发布了v1.4.0-beta版本,使用高阶用法用来布局table、合并单元格等复杂布局,欢迎体验

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

keno-lee commented 10 months ago

厉害,膜拜大佬 ---原始邮件--- 发件人: @.> 发送时间: 2023年12月6日(周三) 中午11:43 收件人: @.>; 抄送: @.**@.>; 主题: Re: [keno-lee/vue-tiny-virtual-list] 建议暴露index (Issue #3) 建议在模板 slot 中 暴露数据项 的 index, 目前只暴露了 itemData,在有些场景还是需要 index 的 在v1.3.1中已经新增index参数,并发布了v1.4.0-beta版本,使用高阶用法用来布局table、合并单元格等复杂布局,欢迎体验 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

如果能帮到你,感谢给身边人推广一下。后续还有一个基于虚拟列表,支持合并单元格、分组、树形、万行千列的表格组件。

leonhu0710 commented 10 months ago

嗯嗯,引入推广到项目组使用了,解决了大数据卡顿痛点,期待新产品

---原始邮件--- 发件人: @.> 发送时间: 2023年12月7日(周四) 下午4:30 收件人: @.>; 抄送: @.**@.>; 主题: Re: [keno-lee/vue-tiny-virtual-list] 建议暴露index (Issue #3)

厉害,膜拜大佬 … ---原始邮件--- 发件人: @.> 发送时间: 2023年12月6日(周三) 中午11:43 收件人: @.>; 抄送: @.@.>; 主题: Re: [keno-lee/vue-tiny-virtual-list] 建议暴露index (Issue #3) 建议在模板 slot 中 暴露数据项 的 index, 目前只暴露了 itemData,在有些场景还是需要 index 的 在v1.3.1中已经新增index参数,并发布了v1.4.0-beta版本,使用高阶用法用来布局table、合并单元格等复杂布局,欢迎体验 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

如果能帮到你,感谢给身边人推广一下。后续还有一个基于虚拟列表,支持合并单元格、分组、树形、万行千列的表格组件。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>