0👍
first of all "this" doesn’t refer to vue instance ,it refers to loginAction block,use arrow function instead ,secondly due to docs you should use useStore() method to get store in vue 3 Composition api
- [Vuejs]-Issue removing first element of array with Javascript
- [Vuejs]-Property accessed during render but not defined in VUE
Source:stackexchange.com