You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useApprovalCommentPopup functions is mount component using mount function.
The showPopup variable's initial value is true, component mounted and show popup.
But popup is not close, when click close button.
When component mount using template tag, everything is okay.
What happen? Anyone knows a solution..?
I think modelValue is updated when "onUpdate:modelValue" prop, mounted component can't know updating value.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I work my project with Vue3 and Nuxt3 then made dynamic mount function.
the mount function is mount component instance from component type, props and el.
And then create api as below.
useApprovalCommentPopup functions is mount component using mount function.
The showPopup variable's initial value is true, component mounted and show popup.
But popup is not close, when click close button.
When component mount using template tag, everything is okay.
What happen? Anyone knows a solution..?
I think modelValue is updated when "onUpdate:modelValue" prop, mounted component can't know updating value.
Beta Was this translation helpful? Give feedback.
All reactions