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