1👍
✅
Finally, I found answer for my question
export default {
async validate({params}) {
const validateParam = await this.currentCategory.some((category) => category === params.category)
return validateParam
Source:stackexchange.com