mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
chore: code clean up
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -73,7 +73,7 @@ class MemberController extends GetxController {
|
||||
wwebid = jsonDecode(
|
||||
Uri.decodeComponent(scriptElement?.text ?? ''))['access_id'];
|
||||
} catch (e) {
|
||||
print('failed to get wwebid: $e');
|
||||
debugPrint('failed to get wwebid: $e');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ class MemberController extends GetxController {
|
||||
SmartDialog.showToast('账号未登录');
|
||||
return;
|
||||
}
|
||||
if (memberInfo.value == null) {
|
||||
if (memberInfo.value.mid == null) {
|
||||
SmartDialog.showToast('尚未获取到用户信息');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user