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
xugenyuan
2024-05-21 20:28:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8e27ca395f5b00edbc01f73cfce4a184f5e6c289
8e27ca39
1 parent
862b33e5
ref |> 详情页底部评论输入框的开关控制逻辑
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
View file @
8e27ca3
...
...
@@ -213,7 +213,9 @@ export struct OperRowListView {
@Builder
builderComment() {
Column() {
if (this.publishCommentModel?.targetId) {
if (this.contentDetailData.openComment == 1
&& this.contentDetailData.commentDisplay == 1
&& this.publishCommentModel?.targetId) {
CommentTabComponent({
publishCommentModel: this.publishCommentModel,
contentDetail: this.contentDetailData,
...
...
@@ -223,6 +225,8 @@ export struct OperRowListView {
this.dialogController = dialogController
}
})
} else {
Blank()
}
}
.layoutWeight(1)
...
...
Please
register
or
login
to post a comment