mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
opt: LoadingState (#1776)
This commit is contained in:
committed by
GitHub
parent
3741fe54ff
commit
17883eb77e
@@ -57,9 +57,11 @@ class _GroupPanelState extends State<GroupPanel> {
|
||||
widget.mid.toString(),
|
||||
tags.isEmpty ? '0' : tags.join(','),
|
||||
);
|
||||
SmartDialog.showToast(res['msg']);
|
||||
if (res['status']) {
|
||||
if (res.isSuccess) {
|
||||
SmartDialog.showToast('操作成功');
|
||||
Get.back(result: tags);
|
||||
} else {
|
||||
res.toast();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user