mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-08 17:08:59 +08:00
fix: roleDonotExist tip (#349)
This commit is contained in:
@@ -301,7 +301,7 @@ const getRoleDomains = (role) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const roleDonotExist = computed(() => {
|
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 () => {
|
watch([page, pageSize], async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user