记录一次使用v-for使用报错,提示component lists rendered with v-for should have explicit keys

使用router-link做循环处理的时候,写的代码是


然后控制台提示component lists rendered with v-for should have explicit keys


在官网看一了下v-for的使用


然后添加了一个key,通过