0👍
In the setup function you cannot process a computed function.
You can instead access store.getters[‘categories/getCategories’].value[selectedItem.value].id if you want to process that in the setup function.
Source:stackexchange.com
0👍
In the setup function you cannot process a computed function.
You can instead access store.getters[‘categories/getCategories’].value[selectedItem.value].id if you want to process that in the setup function.