From 64efc65edf06e8dc2ffdae14eabd4aab3d518a02 Mon Sep 17 00:00:00 2001 From: Kerwin <37063904+zhuangchong@users.noreply.github.com> Date: Wed, 12 Jan 2022 14:38:41 +0800 Subject: [PATCH] Create or update users to add tenants cannot be empty verification. (#7594) --- .../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 41e039df69..59b973d951 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')}`)