You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/01/12 06:45:26 UTC

[dolphinscheduler] branch 2.0.3-prepare updated: Create or update users to add tenants cannot be empty verification. #7594 (#7956)

This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch 2.0.3-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.3-prepare by this push:
     new ddd516c  Create or update users to add tenants cannot be empty verification. #7594 (#7956)
ddd516c is described below

commit ddd516cb96e4851693b82aa548807574fb00fa61
Author: Kerwin <37...@users.noreply.github.com>
AuthorDate: Wed Jan 12 14:45:17 2022 +0800

    Create or update users to add tenants cannot be empty verification. #7594 (#7956)
---
 .../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 88f69fe..bb956e9 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
@@ -191,6 +191,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')}`)