提交 ae3fd213 作者: ZhangLingKun

优化:问题修复

上级 3e9a2707
流水线 #8480 已通过 于阶段
in 1 分 2 秒
......@@ -64,9 +64,9 @@ const DynamicDetailModal: FC<ModalProps & selfProps> = ({ open, onCancel, forumD
<Tooltip
placement='bottom'
title={
likeUserList.length ? (
likeUserList?.length ? (
<div className='dynamic-like-user'>
{likeUserList.map((v, index: number) => (
{likeUserList?.map((v, index: number) => (
<div key={index} className='user-info'>
<img src={v.userImg} alt='头像' />
<span>{v.userName || v.nickName}</span>
......@@ -83,7 +83,7 @@ const DynamicDetailModal: FC<ModalProps & selfProps> = ({ open, onCancel, forumD
</div>
</div>
</div>
{forumDetail?.commentAndReplyVO.length ? (
{forumDetail?.commentAndReplyVO?.length ? (
<div className='dynamic-detail-comment'>
<div className='comment-title'>{forumDetail?.commentCount}条评论</div>
{forumDetail.commentAndReplyVO.map((v, index: number) => (
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论