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
yangsunyue_wd
2024-04-24 19:07:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
55d49f37aa785fddb4d4517e17e924b26884afae
55d49f37
1 parent
c94ce9f1
desc:热门好评页不展示BUG修复
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/comment/viewmodel/CommentViewModel.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/viewmodel/CommentViewModel.ets
View file @
55d49f3
...
...
@@ -221,7 +221,7 @@ class CommentViewModel {
//子评论
if (element.childComments
.length
) {
if (element.childComments) {
for (const obj2 of element.childComments) {
if ((obj2.id + '').length > 0) {
commentIDs.push(obj2.id + '')
...
...
@@ -267,7 +267,7 @@ class CommentViewModel {
if (element.commentId == commentModel.id) {
commentModel.api_status = element.status
}
if (commentModel.childComments
.length
) {
if (commentModel.childComments) {
for (const childCommentModel of commentModel.childComments) {
if (element.commentId == childCommentModel.id) {
childCommentModel.api_status = element.status
...
...
@@ -310,7 +310,7 @@ class CommentViewModel {
if (element.userId == commentModel.fromUserId) {
commentModel.api_levelHead = element.levelHead
}
if (commentModel.childComments
.length
) {
if (commentModel.childComments) {
for (const childCommentModel of commentModel.childComments) {
if (element.userId == childCommentModel.fromUserId) {
childCommentModel.api_levelHead = element.levelHead
...
...
@@ -356,7 +356,7 @@ class CommentViewModel {
if (element.creatorId == commentModel.fromCreatorId) {
commentModel.api_authIcon = element.authIcon
}
if (commentModel.childComments
.length
) {
if (commentModel.childComments) {
for (const childCommentModel of commentModel.childComments) {
if (element.creatorId == childCommentModel.fromCreatorId) {
childCommentModel.api_authIcon = element.authIcon
...
...
Please
register
or
login
to post a comment