-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commit:fix the front-end popup cannot exit #1957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍👍👍
Signed-off-by: tomsun28 <[email protected]>
@tomsun28 麻烦看下这个pr合并问题 |
if (account == null || account.getPassword() == null) { | ||
return ResponseEntity.ok(Message.fail(MONITOR_LOGIN_FAILED_CODE, "Incorrect Account or Password")); | ||
} else { | ||
String password = loginDto.getCredential(); | ||
String password = loginDto.getCredential().trim(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi, here we not suggest use the trim(), we donot need to update the username password the user input.
StringUtils.isBlank is no need, because the @Valid LoginDto has the vaild rule.
@@ -710,6 +710,9 @@ export class AlertSettingComponent implements OnInit { | |||
onConnectModalCancel() { | |||
this.isConnectModalVisible = false; | |||
} | |||
handleCancel() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest update the method name more understand like other, eg: onExportTypeModalCancel()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
The frontend ci error is due this, or you can run local
|
# Conflicts: # web-app/src/app/routes/alert/alert-setting/alert-setting.component.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.