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
I find it not work when i use documentByxx as the first argument, it works in onMounted, but I can't use the result in my template,I find use watch Api with flush: post, maybe dom element not a reactive element, get null , In addition, a lot of components ref.value not the element, maybe $el, I think provide a function to get the elem or compatible other circumstances
Suggested solution
start listener in nexttick or use onmounted inside
Clear and concise description of the problem
I find it not work when i use
documentByxx
as the first argument, it works in onMounted, but I can't use the result in my template,I find use watch Api withflush: post
, maybe dom element not a reactive element, get null , In addition, a lot of components ref.value not the element, maybe $el, I think provide a function to get the elem or compatible other circumstancesSuggested solution
start listener in nexttick or use onmounted inside
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: