fix: mod relation

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-22 18:44:46 +08:00
parent 7856857cca
commit 993c1f309a
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ class _GroupPanelState extends State<GroupPanel> {
final res = await MemberHttp.addUsers(widget.mid, tagids);
SmartDialog.showToast(res['msg']);
if (res['status']) {
Get.back(result: tagidList);
Get.back(result: tagidList ?? []);
}
}

View File

@@ -81,7 +81,7 @@ class RequestUtils {
);
if (res['status']) {
SmartDialog.showToast('$text成功');
callback?.call(-10);
callback?.call(isSpecialFollowed ? 2 : -10);
} else {
SmartDialog.showToast(res['msg']);
}
@@ -125,7 +125,7 @@ class RequestUtils {
);
followStatus!['tag'] = result;
if (result != null) {
callback?.call(2);
callback?.call(result.contains(-10) ? -10 : 2);
}
},
title: const Text(