mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 关注按钮点击过快未判空
This commit is contained in:
@@ -73,6 +73,10 @@ class MemberController extends GetxController {
|
||||
SmartDialog.showToast('账号未登录');
|
||||
return;
|
||||
}
|
||||
if (memberInfo.value == null) {
|
||||
SmartDialog.showToast('尚未获取到用户信息');
|
||||
return;
|
||||
}
|
||||
if (attribute.value == 128) {
|
||||
blockUser();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user