Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-23 16:09:05 +08:00
parent 79e30047f5
commit fcf758e290
10 changed files with 50 additions and 39 deletions

View File

@@ -344,11 +344,13 @@ class RequestUtils {
if (res['status']) {
SmartDialog.showToast(!status ? '点赞成功' : '取消赞');
if (up == 1) {
like?.count = count + 1;
like?.status = true;
like
?..count = count + 1
..status = true;
} else {
like?.count = count - 1;
like?.status = false;
like
?..count = count - 1
..status = false;
}
callback();
} else {