auth loader

This commit is contained in:
2023-05-20 07:13:06 +02:00
parent 893b24354a
commit 95359c792a
4 changed files with 20 additions and 5 deletions

View File

@@ -1,7 +1,16 @@
<script setup lang="ts">
import { onClickOutside } from '@vueuse/core'
const show = defineModel<boolean>({ local: true, default: false })
const props = withDefaults(
defineProps<{
open: boolean
}>(),
{
open: false
}
)
const show = ref<boolean>(props.open)
const modal = ref<HTMLElement | null>(null)
const modalBox = ref(null)