You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/09/17 18:17:35 UTC
[GitHub] [incubator-streampark] 1996fanrui opened a new pull request, #1635: [Bug] Fix the help when user/role name already exists
1996fanrui opened a new pull request, #1635:
URL: https://github.com/apache/incubator-streampark/pull/1635
### What problem does this PR solve?
Issue Number: close #1634
Problem Summary:
The help should be `抱歉,该用户名已存在`, but the help is `用户名不能为空`.

The help should be `抱歉,该角色名称已存在`, but the help is `角色名称不能为空`.

The help is right with this PR.

### What is changed and how it works?
Proposal: [xxx](url) <!-- REMOVE this line if not applicable -->
Feel free to ping committers for the review!
## Contribution Checklist
- Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/streampark/issues).
- Name the pull request in the form "[Feature] [component] Title of the pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
- Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
## Purpose of this pull request
Fix the help when user/role name already exists
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-streampark] wolfboys commented on a diff in pull request #1635: [Bug] Fix the help when user/role name already exists
Posted by GitBox <gi...@apache.org>.
wolfboys commented on code in PR #1635:
URL: https://github.com/apache/incubator-streampark/pull/1635#discussion_r973741886
##########
streampark-console/streampark-console-webapp/src/views/system/role/RoleAdd.vue:
##########
@@ -161,14 +161,12 @@ export default {
},
handleSubmit () {
const checkedArr = this.selectedKeysAndHalfCheckedKeys
- if (this.validateStatus !== 'success') {
- this.handleRoleNameBlur()
- } else if (checkedArr.length === 0) {
+ if (checkedArr.length === 0) {
this.menuSelectStatus = 'error'
this.menuSelectHelp = '请选择相应的权限'
Review Comment:
can be changed to English.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-streampark] 1996fanrui commented on a diff in pull request #1635: [Bug] Fix the help when user/role name already exists
Posted by GitBox <gi...@apache.org>.
1996fanrui commented on code in PR #1635:
URL: https://github.com/apache/incubator-streampark/pull/1635#discussion_r973848738
##########
streampark-console/streampark-console-webapp/src/views/system/role/RoleAdd.vue:
##########
@@ -161,14 +161,12 @@ export default {
},
handleSubmit () {
const checkedArr = this.selectedKeysAndHalfCheckedKeys
- if (this.validateStatus !== 'success') {
- this.handleRoleNameBlur()
- } else if (checkedArr.length === 0) {
+ if (checkedArr.length === 0) {
this.menuSelectStatus = 'error'
this.menuSelectHelp = '请选择相应的权限'
Review Comment:
Thanks for your review, updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-streampark] wolfboys merged pull request #1635: [Bug] Fix the help when user/role name already exists
Posted by GitBox <gi...@apache.org>.
wolfboys merged PR #1635:
URL: https://github.com/apache/incubator-streampark/pull/1635
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org