vue 出现Elements in iteration expect to have 'v-bind:key' directives问题

搜尽各大神 最后得出原因是eslint检测出现bug 解决方法有两种 v-for 后添加 :key=‘item’ 在build处关闭eslint检测 个人感觉这个语法检测功能很有点过于严格,用起来十分难受,所以果断关闭eslint,找到webpack.base.conf.js注释下面代码
相关文章
相关标签/搜索