Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-08-22 15:24:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fdabb806616788feac07cb00dda5f0ecedb1fb24
fdabb806
1 parent
7c7259b4
feat:优化个人主页评论点赞问题
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/ChildCommentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomCommentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/ChildCommentComponent.ets
View file @
fdabb80
...
...
@@ -53,7 +53,8 @@ export struct ChildCommentComponent {
}.layoutWeight(1)
.alignItems(HorizontalAlign.Start)
if (this.data.checkStatus === 2) {
///checkStatus 评论审核状态,0:未审核;1:审核中;2:通过;3:不通过
if (this.data.checkStatus != 3) {
Row() {
Text(this.data.likeNum.toString())
.fontWeight("500lpx")
...
...
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomCommentComponent.ets
View file @
fdabb80
...
...
@@ -152,7 +152,7 @@ export struct HomePageBottomCommentComponent {
let status = new OtherUserCommentLikeStatusRequestItem()
let data: CommentListItem[] = []
value.list.forEach((item) => {
if (item.checkStatus
=== 2
) {
if (item.checkStatus
!= 3
) {
status.commentIdList.push(item.id)
}
let commentContent = item.commentContent
...
...
Please
register
or
login
to post a comment