Browse Source

REPORT-58039 支持固定行数分页

research/11.0
pengda 3 years ago
parent
commit
8bf479c0d4
  1. 4
      designer-realize/src/main/java/com/fr/design/webattr/PageToolBarPane.java

4
designer-realize/src/main/java/com/fr/design/webattr/PageToolBarPane.java

@ -283,8 +283,8 @@ public class PageToolBarPane extends AbstractEditToolBarPane {
private boolean isRowCountValid(String rowCount) {
Matcher matcher = ROW_COUNT.matcher(rowCount);
if(matcher.find()){
int count = Integer.parseInt(matcher.group());
if (matcher.find()) {
int count = Integer.parseInt(matcher.group());
return count >= MIN_ROW_COUNT && count <= MAX_ROW_COUNT;
}
return false;

Loading…
Cancel
Save