Taro react版本的瀑布流的使用 #1458
Unanswered
maoyutingMyt
asked this question in
求助
Replies: 1 comment
-
已经2025年了,写出来了吗? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
1、把dist文件下面copy到了src 然后再config里配置了
{/**/}config = {
navigationBarTitleText: '首页',
enablePullDownRefresh: true,
usingComponents: {
'l-water-flow': '../../static/dist/water-flow/index',
'l-demo': '../../components/DemoItem',
},
};
在onload不走wx.lin.renderWaterFlow(this.state.list, false, () => {
console.log('渲染成功');
});
在componentDidMount() {
console.info(wx.lin);
console.info(1111111111111111111111111);
wx.lin.renderWaterFlow(this.state.list, false, () => {
console.log('渲染成功');
});
}走但是页面空白渲染不出来
能提供下Taro react 版本的使用瀑布流的例子吗而且也需要下拉加载
Beta Was this translation helpful? Give feedback.
All reactions