Vscode development Vue project eslint check error

When using vscode to develop Vue projects and eslint to check rules, V-for reports an error: expected ‘v-bind: key’ directives to use the viruses which are defined by the ‘V-for’ directive.
solution: define the index in the variable defined in V-for
example:

<div v-for="titile in titles" :key="title.index">{{ name }}</div>


Read More: