Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在 ListPaging 插件的帮助下部分加载的列表。当我更改视图并返回到同一个列表时,只加载最后一个项目。我可以加载下一页但我不能加载以前的。
因此,我从服务器发送从 0 开始并在最后一个索引中结束的数据。但在这种情况下,滚动位置会丢失,刷新后会自动滚动到顶部。
我怎样才能保持滚动位置,或者有没有办法像 ListPaging 插件为下一页加载以前的记录?
提前致谢。
我认为你面临的问题是这个
list-scrollToTopOnRefresh
这在默认情况下设置为 true 将其设置为 false 并重试...希望它有帮助