Browse Source

REPORT-58039 支持固定行数分页

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

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

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

Loading…
Cancel
Save