mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-06-26 01:42:42 +08:00
fix: roleDonotExist tip (#349)
This commit is contained in:
@@ -301,7 +301,7 @@ const getRoleDomains = (role) => {
|
||||
}
|
||||
|
||||
const roleDonotExist = computed(() => {
|
||||
return !userRoles.value.some(r => r.role === curUserRole.value);
|
||||
return curUserRole.value && !userRoles.value.some(r => r.role === curUserRole.value);
|
||||
})
|
||||
|
||||
watch([page, pageSize], async () => {
|
||||
|
||||
Reference in New Issue
Block a user