1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-24 07:06:08 +09:00

fix: help modal when first visit

This commit is contained in:
三咲智子 2022-11-24 17:44:27 +08:00
parent 802a168051
commit 44f84f36a3
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E

View File

@ -3,7 +3,7 @@ const { modelValue } = defineModel<{
modelValue: boolean
}>()
let init = $ref(false)
let init = $ref(modelValue || false)
watchOnce(modelValue, () => {
init = true
})