小优化

This commit is contained in:
2026-08-23 15:25:39 +08:00
parent 0ffd045576
commit 2c1f08deb1
4 changed files with 53 additions and 12 deletions
+1
View File
@@ -40,6 +40,7 @@
if (result.success && result.data) {
var isFollowing = result.data.is_following;
updateFollowButton(btn, isFollowing, result.data.follower_count);
notyf(isFollowing ? '关注成功' : '已取消关注', 'success');
} else {
notyf(result.message || '操作失败', 'danger');
}