fix: help modal when first visit

zio/stable
三咲智子 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
1 changed files with 1 additions and 1 deletions

View File

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