Custom elements in iteration require ‘v-bind:key’ directives
遇到了如下错误
原因:
v-for之后必须要跟 :key属性
解决:
这里的key不能和前面item一样 否则在浏览器端会报
这个错误
Duplicate keys detected: ‘[object Object]’. This may cause an update error.
Custom elements in iteration require ‘v-bind:key’ directives
遇到了如下错误
原因:
v-for之后必须要跟 :key属性
解决:
这里的key不能和前面item一样 否则在浏览器端会报
这个错误
Duplicate keys detected: ‘[object Object]’. This may cause an update error.