Skip to content

Commit

Permalink
fix: 刷新时重置参数
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Feb 4, 2024
1 parent edf9b37 commit 7e03216
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/pages/msg_feed_top/at_me/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class AtMeController extends GetxController {

Future onRefresh() async {
cursor = -1;
cursorTime = -1;
queryMsgFeedAtMe();
}

Expand Down
1 change: 1 addition & 0 deletions lib/pages/msg_feed_top/like_me/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class LikeMeController extends GetxController {

Future onRefresh() async {
cursor = -1;
cursorTime = -1;
queryMsgFeedLikeMe();
}

Expand Down
1 change: 1 addition & 0 deletions lib/pages/msg_feed_top/reply_me/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class ReplyMeController extends GetxController {

Future onRefresh() async {
cursor = -1;
cursorTime = -1;
queryMsgFeedReplyMe();
}

Expand Down

0 comments on commit 7e03216

Please sign in to comment.