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
yangchenggong1_wd
2024-05-28 15:24:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dd06793ed9c7895abb7e7d5b0472359fbb596222
dd06793e
1 parent
fb815ac2
fix:bug[18039] 搜索结果-号主图集>图片数量为负数
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/model/MinePageDatasModel.ets
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
View file @
dd06793
...
...
@@ -464,7 +464,7 @@ export struct SearchResultContentComponent {
contentDTO.tagWord = -1
contentDTO.isSelect = true
contentDTO.rmhInfo = {} as RmhInfoDTO
contentDTO.photoNum =
photos !=null && photos.length>0 ? photos.length:-1
contentDTO.photoNum =
StringUtils.isEmpty(value.data.picCount) ? 0 : Number(value.data.picCount)
contentDTO.liveInfo = {} as LiveInfoDTO;
contentDTO.videoInfo = {
videoDuration: Number.parseInt(value.data.duration)
...
...
sight_harmony/features/wdComponent/src/main/ets/model/MinePageDatasModel.ets
View file @
dd06793
...
...
@@ -830,7 +830,7 @@ class MinePageDatasModel{
contentDTO.tagWord = -1
contentDTO.isSelect = true
contentDTO.rmhInfo = {} as RmhInfoDTO
contentDTO.photoNum =
-1
contentDTO.photoNum =
StringUtils.isEmpty(value.picCount) ? 0 : Number(value.picCount)
contentDTO.liveInfo = {} as LiveInfoDTO;
contentDTO.videoInfo = {
videoDuration: Number.parseInt(value.duration)
...
...
Please
register
or
login
to post a comment