mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
opt: LoadingState (#1776)
This commit is contained in:
committed by
GitHub
parent
3741fe54ff
commit
17883eb77e
@@ -47,11 +47,11 @@ class LiveAreaController
|
||||
final res = await LiveHttp.setLiveFavTag(
|
||||
ids: favState.value.data.map((e) => e.id).join(','),
|
||||
);
|
||||
if (res['status']) {
|
||||
if (res.isSuccess) {
|
||||
isEditing.value = !isEditing.value;
|
||||
SmartDialog.showToast('设置成功');
|
||||
} else {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
res.toast();
|
||||
}
|
||||
} else {
|
||||
isEditing.value = !isEditing.value;
|
||||
|
||||
Reference in New Issue
Block a user