Browse Source

REPORT-49055 设计器数据连接配置界面优化

feature/10.0
pengda 4 years ago
parent
commit
a0f2067b79
  1. 3
      designer-base/src/main/java/com/fr/design/data/datapane/connect/JDBCDefPane.java

3
designer-base/src/main/java/com/fr/design/data/datapane/connect/JDBCDefPane.java

@ -482,6 +482,9 @@ public class JDBCDefPane extends JPanel {
updateURL(); updateURL();
} else { } else {
portTextField.setText(port.replaceAll(e.getKeyChar() + "", "")); portTextField.setText(port.replaceAll(e.getKeyChar() + "", ""));
if (!isPortValid(portTextField.getText())) {
portTextField.setText("");
}
} }
} }
}; };

Loading…
Cancel
Save