I am encountering difficulty retrieving values from methods and parsing them to provide. How can I address this issue?
methods: {
onClickCategory: (value) => {
return (this.catId = value);
},
},
provide() {
return {
categoryId: this.value,
};
},
Despite my efforts, I consistently receive the error categoryId:undefined