0👍
try this
variant.value = results.data.variants[0]
reference here
https://vuejs.org/guide/essentials/reactivity-fundamentals.html#reactive-variables-with-ref
- [Vuejs]-Using debugger statement in Vue 2 production code
- [Vuejs]-Vue 3 how to implement intersection observer for multiple element to create an active menu pointing to the element on the view port
Source:stackexchange.com