mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: queryFollowUp
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -96,7 +96,10 @@ class DynamicsController extends GetxController
|
||||
}
|
||||
}
|
||||
|
||||
late bool isQuerying = false;
|
||||
Future queryFollowUp({type = 'init'}) async {
|
||||
if (isQuerying) return;
|
||||
isQuerying = true;
|
||||
if (!isLogin.value) {
|
||||
upData.value.errMsg = '账号未登录';
|
||||
upData.refresh();
|
||||
@@ -156,6 +159,7 @@ class DynamicsController extends GetxController
|
||||
upData.refresh();
|
||||
}
|
||||
}
|
||||
isQuerying = false;
|
||||
}
|
||||
|
||||
onSelectUp(mid) async {
|
||||
|
||||
Reference in New Issue
Block a user