fix: help modal when first visit
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 New Issue