fix:修复下拉加载会跳转至顶部的问题
This commit is contained in:
@@ -44,7 +44,10 @@ class BlogProvider with ChangeNotifier {
|
|||||||
if (isLoading) return;
|
if (isLoading) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
isLoading = true;
|
if (currentPage == 1) {
|
||||||
|
isLoading = true;
|
||||||
|
}
|
||||||
|
|
||||||
error = null;
|
error = null;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user