Skip to content

Commit

Permalink
密码不必填
Browse files Browse the repository at this point in the history
  • Loading branch information
zouzg committed Mar 20, 2017
1 parent ae701dd commit b9d9cdb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ private DatabaseConfig extractConfigForUI() {
config.setPassword(password);
config.setSchema(schema);
config.setEncoding(encoding);
if (StringUtils.isAnyEmpty(name, host, port, userName, password, encoding, dbType, schema)) {
AlertUtil.showWarnAlert("所有字段都必填");
if (StringUtils.isAnyEmpty(name, host, port, userName, encoding, dbType, schema)) {
AlertUtil.showWarnAlert("密码以外其他字段必填");
return null;
}
return config;
Expand Down

0 comments on commit b9d9cdb

Please sign in to comment.