auth loader
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user