Rahim-Chan / taro-listview

taro框架长列表方案 :集成下拉刷新、骨架屏、无限滚动、图片懒加载;
https://taro-listview-docs-aqi1r3dhf.vercel.app/
302 stars 61 forks source link

这个 isLoaded 属性是用来干啥的?一直没有搞明白 #24

Closed Desgard closed 4 years ago

Desgard commented 4 years ago

文档中也没有出现。我这边只要传入这个变量,列表就会变空白。

Rahim-Chan commented 4 years ago

这个是用来控制骨架屏的、判断是不是首次渲染;是的话未开启骨架屏; [image: image.png]

Gua notifications@github.com 于2020年4月18日周六 上午11:06写道:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Rahim-Chan/taro-listview/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENBQEXQ6AWRRZYKXRBC4K3RNEKLTANCNFSM4MLFVRFQ .

Rahim-Chan commented 4 years ago

文档中也没有出现。我这边只要传入这个变量,列表就会变空白。

文档里面有该属性