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

This commit is contained in:
Kerwin 2022-01-12 14:38:41 +08:00 committed by GitHub
parent 5be8e0531c
commit 64efc65edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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