mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +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 {
|
Future queryFollowUp({type = 'init'}) async {
|
||||||
|
if (isQuerying) return;
|
||||||
|
isQuerying = true;
|
||||||
if (!isLogin.value) {
|
if (!isLogin.value) {
|
||||||
upData.value.errMsg = '账号未登录';
|
upData.value.errMsg = '账号未登录';
|
||||||
upData.refresh();
|
upData.refresh();
|
||||||
@@ -156,6 +159,7 @@ class DynamicsController extends GetxController
|
|||||||
upData.refresh();
|
upData.refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
isQuerying = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
onSelectUp(mid) async {
|
onSelectUp(mid) async {
|
||||||
|
|||||||
Reference in New Issue
Block a user