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
})