taro3-table icon indicating copy to clipboard operation
taro3-table copied to clipboard

追加数据,类似于加载。重新set数据后,table会回到顶部

Open wisdom1314 opened this issue 3 years ago • 1 comments

const addData = async () => { setLoading(true); const data = await getData(); const list = dataSource.concat(data) setDataSource(list); setLoading(false); return data; };

如何才能在当前滚动的位置,而不回到顶部啊?

wisdom1314 avatar Jun 10 '21 07:06 wisdom1314

您好,请问这个问题解决了吗? 怎么解决的

Mucheng910 avatar May 23 '22 05:05 Mucheng910