Commit eac3d554 by 段启岩

修复动态列表bug

parent 07eef3b6
......@@ -397,7 +397,7 @@ public class PostServiceImpl extends ServiceImpl<PostMapper, Post> implements IP
PageUtils.copyMeta(postPage, pageDTO);
if (postPage.getSize() == 0) {
if (postPage.getRecords().size() == 0) {
pageDTO.setDataList(List.of());
return pageDTO;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment