vue警告: component lists rendered with v-for should have explicit keys

warning信息:component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.

在v-for中绑定key值可解决:

<router-link :to="{path: goods.url}" v-for="(goods,index) in ftg.goods" :key=index target="_blank" :title="goods.name">{{goods.name}}</router-link>
原文地址:https://www.cnblogs.com/xulei1992/p/11870871.html