Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -464,7 +464,7 @@ export struct SearchResultContentComponent { | @@ -464,7 +464,7 @@ export struct SearchResultContentComponent { | ||
| 464 | contentDTO.tagWord = -1 | 464 | contentDTO.tagWord = -1 |
| 465 | contentDTO.isSelect = true | 465 | contentDTO.isSelect = true |
| 466 | contentDTO.rmhInfo = {} as RmhInfoDTO | 466 | contentDTO.rmhInfo = {} as RmhInfoDTO |
| 467 | - contentDTO.photoNum = photos !=null && photos.length>0 ? photos.length:-1 | 467 | + contentDTO.photoNum = StringUtils.isEmpty(value.data.picCount) ? 0 : Number(value.data.picCount) |
| 468 | contentDTO.liveInfo = {} as LiveInfoDTO; | 468 | contentDTO.liveInfo = {} as LiveInfoDTO; |
| 469 | contentDTO.videoInfo = { | 469 | contentDTO.videoInfo = { |
| 470 | videoDuration: Number.parseInt(value.data.duration) | 470 | videoDuration: Number.parseInt(value.data.duration) |
| @@ -830,7 +830,7 @@ class MinePageDatasModel{ | @@ -830,7 +830,7 @@ class MinePageDatasModel{ | ||
| 830 | contentDTO.tagWord = -1 | 830 | contentDTO.tagWord = -1 |
| 831 | contentDTO.isSelect = true | 831 | contentDTO.isSelect = true |
| 832 | contentDTO.rmhInfo = {} as RmhInfoDTO | 832 | contentDTO.rmhInfo = {} as RmhInfoDTO |
| 833 | - contentDTO.photoNum = -1 | 833 | + contentDTO.photoNum = StringUtils.isEmpty(value.picCount) ? 0 : Number(value.picCount) |
| 834 | contentDTO.liveInfo = {} as LiveInfoDTO; | 834 | contentDTO.liveInfo = {} as LiveInfoDTO; |
| 835 | contentDTO.videoInfo = { | 835 | contentDTO.videoInfo = { |
| 836 | videoDuration: Number.parseInt(value.duration) | 836 | videoDuration: Number.parseInt(value.duration) |
-
Please register or login to post a comment