Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-18 12:02:42 +08:00
parent 8e4824ab6f
commit 3d4aa7d5a9
13 changed files with 71 additions and 76 deletions

View File

@@ -109,7 +109,7 @@ class DynTopicController
} else {
topState.value.data!.topicItem!.fav += 1;
}
this.isFav.value = !isFav;
this.isFav.toggle();
} else {
res.toast();
}
@@ -128,7 +128,7 @@ class DynTopicController
} else {
topState.value.data!.topicItem!.like += 1;
}
this.isLike.value = !isLike;
this.isLike.toggle();
} else {
res.toast();
}