Create or update users to add tenants cannot be empty verification. #7594 (#7956)

This commit is contained in:
Kerwin 2022-01-12 14:45:17 +08:00 committed by GitHub
parent f02cde30b8
commit ddd516cb96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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')}`)