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
陈剑华
2024-06-14 14:35:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d6b827d0808482b95d8399d1ada1e854d28d73c9
d6b827d0
1 parent
57a1db57
fix: 18755 0评-搜索结果页中评论数为0的数据未能隐藏评论
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/CardSourceInfo.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/CardSourceInfo.ets
View file @
d6b827d
...
...
@@ -151,7 +151,7 @@ export struct CardSourceInfo {
.flexShrink(0)
.margin({right: 4})
}
if (
this.getContentDtoBean()?.interactData?.commentNum
&& this.showCommentNum()) {
if (
Number(this.getContentDtoBean()?.interactData?.commentNum) > 0
&& this.showCommentNum()) {
Text(`${this.handlerNum(this.getContentDtoBean()?.interactData?.commentNum.toString())}评`)
.fontSize($r("app.float.font_size_11"))
.fontColor($r("app.color.color_B0B0B0"))
...
...
Please
register
or
login
to post a comment