mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-05 02:00:13 +08:00
@@ -472,7 +472,7 @@ class PgcIntroController extends CommonIntroController {
|
||||
? await FavHttp.delFavPugv(seasonId!)
|
||||
: await FavHttp.addFavPugv(seasonId!);
|
||||
if (res.isSuccess) {
|
||||
this.isFav.value = !isFav;
|
||||
this.isFav.toggle();
|
||||
SmartDialog.showToast('${isFav ? '取消' : ''}收藏成功');
|
||||
} else {
|
||||
res.toast();
|
||||
|
||||
Reference in New Issue
Block a user