fix auth
This commit is contained in:
@@ -3,14 +3,14 @@ import { onClickOutside } from '@vueuse/core'
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
open: boolean
|
||||
open?: boolean
|
||||
}>(),
|
||||
{
|
||||
open: false
|
||||
}
|
||||
)
|
||||
|
||||
const show = ref<boolean>(props.open)
|
||||
const show = ref<boolean>(Boolean(props.open))
|
||||
|
||||
const modal = ref<HTMLElement | null>(null)
|
||||
const modalBox = ref(null)
|
||||
|
||||
Reference in New Issue
Block a user