https://github.com/Akryum/vue-virtual-scroller

下载后 运行 里面的docs-src文件就可以。

然后我用的是。

<recycle-list
ref="scroller"
class="scroller"
:items="items"
:item-height="50"
>
<template slot-scope="list">
<item :item="list.item" :index="list.index"></item>
</template>
</recycle-list>

  

其中 scroller 这个class要设置高度,。。且包裹它的div都要  高度设死的那种!!!
然后不能用table 表格的这写标签 用div.
 
 

相关文章:

  • 2021-08-27
  • 2021-12-09
  • 2021-12-10
  • 2021-08-05
  • 2022-02-04
  • 2021-10-10
  • 2021-12-25
  • 2022-01-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2021-04-23
相关资源
相似解决方案