[Vuejs]-How to handle onclick functions with parameters in vue js components?

0👍

Your property id in the data does not exist.

You can pass to function as argument all data like showArticle(data), and check all properties in function; for example:

function showArticle(data) { console.log(data) }

Leave a comment