fix: 未登录状态页面显示异常

This commit is contained in:
guozhigq
2023-07-16 20:43:21 +08:00
parent a0427c672b
commit facfa0d11e
5 changed files with 17 additions and 4 deletions

View File

@ -324,8 +324,11 @@ class VideoIntroController extends GetxController {
// 关注/取关up
Future actionRelationMod() async {
if (user.get(UserBoxKey.userMid) == null) {
SmartDialog.showToast('账号未登录');
return;
}
int currentStatus = followStatus['attribute'];
print(currentStatus);
int actionStatus = 0;
switch (currentStatus) {
case 0: