mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
opt: common ctr
opt: state Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -25,9 +25,9 @@ class MemberBangumiCtr
|
||||
super.onInit();
|
||||
dynamic response = (_ctr.loadingState.value as Success).response;
|
||||
if (response is SpaceData) {
|
||||
currentPage = 2;
|
||||
page = 2;
|
||||
dynamic res = response.season;
|
||||
loadingState.value = LoadingState.success(res.item);
|
||||
loadingState.value = Success(res.item);
|
||||
count = res.count;
|
||||
isEnd = res.item!.length >= count;
|
||||
} else {
|
||||
@@ -52,6 +52,6 @@ class MemberBangumiCtr
|
||||
MemberHttp.spaceArchive(
|
||||
type: ContributeType.bangumi,
|
||||
mid: mid,
|
||||
pn: currentPage,
|
||||
pn: page,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user