修改公告页面bug

This commit is contained in:
何童崇 2021-11-22 14:58:34 +08:00
parent 162fd200a5
commit b423e4b7e7
1 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ export default (props) => {
showTotal={total => `${total}`}
/>
</div>} */}
{noticeList.length > 0 ? noticeList.length === 10 && <div className="edu-txt-center mt30 mb30">
{total > 0 ? total> 10 ? <div className="edu-txt-center mt30 mb30">
<Pagination
showQuickJumper
onChange={(page) => { setCurPage(page) }}
@ -225,7 +225,7 @@ export default (props) => {
total={total}
showTotal={total => `${total}`}
/>
</div> : <Nodata _html="暂无数据" />}
</div> : "" : <Nodata _html="暂无数据" />}
</React.Fragment>
}
}