Skip to content

Commit

Permalink
fix-ISelectAbility-因为noPage参数为null导致的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aruis committed Sep 13, 2024
1 parent 52f50f2 commit de10928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void testTree() {

});

assertEquals(response.size(), 2);
assertEquals(response.size(), 3);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ default PageResult view(Integer page,
page = page == null ? 1 : page;
size = size == null ? 10 : size;

if (noPage) {
if (noPage != null && noPage) {
size = total;
page = 0;
} else {
Expand Down

0 comments on commit de10928

Please sign in to comment.