This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 64efc65 Create or update users to add tenants cannot be empty
verification. (#7594)
64efc65 is described below
commit 64efc65edf06e8dc2ffdae14eabd4aab3d518a02
Author: Kerwin <[email protected]>
AuthorDate: Wed Jan 12 14:38:41 2022 +0800
Create or update users to add tenants cannot be empty verification. (#7594)
---
.../js/conf/home/pages/security/pages/users/_source/createUser.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
index 41e039d..59b973d 100644
---
a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
+++
b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
@@ -199,6 +199,12 @@
}
}
+ // Verify tenant
+ if (!this.tenantId) {
+ this.$message.warning(`${i18n.$t('select tenant')}`)
+ return false
+ }
+
// email
if (!this.email) {
this.$message.warning(`${i18n.$t('Please enter email')}`)