mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -14,14 +14,12 @@ class BangumiController extends CommonController {
|
||||
|
||||
RxBool isLogin = false.obs;
|
||||
int? mid;
|
||||
dynamic userInfo;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
userInfo = GStorage.userInfo.get('userInfoCache');
|
||||
mid = userInfo?.mid;
|
||||
isLogin.value = userInfo != null;
|
||||
mid = GStorage.userInfo.get('userInfoCache')?.mid;
|
||||
isLogin.value = mid != null;
|
||||
|
||||
queryData();
|
||||
queryBangumiFollow();
|
||||
|
||||
Reference in New Issue
Block a user