I found a way. The problem is: it's combined with onMounted
and v-if
. I was checking the code to see if I could use v-if
instead of v-show
, and I remember I deliberately chose to use v-show
to handle mine component, but maybe it wouldn't be a problem to change it in this case.