forked from Mirrors/elk
fix: help modal when first visit
This commit is contained in:
parent
802a168051
commit
44f84f36a3
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ const { modelValue } = defineModel<{
|
|||
modelValue: boolean
|
||||
}>()
|
||||
|
||||
let init = $ref(false)
|
||||
let init = $ref(modelValue || false)
|
||||
watchOnce(modelValue, () => {
|
||||
init = true
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue