- 使用vscode报错Elements in iteration
- vscode报错:Elements in iteration e
- 记录错误:Custom elements in iteratio
- vscode提示Elements in iteration ex
- vue 报错Elements in iteration expe
- vue-sell-details动画
- Elements in iteration expect to
- Elements in iteration expect to
- Elements in iteration expect to
- Elements in iteration expect to
在使用vscode写vue的时候会出现这样一个错误:
[eslint-plugin-vue]
[vue/require-v-for-key]
Elements in iteration expect to have 'v-bind:key' directives.
Renders the element or template block multiple times based on the source data.
这是在使用插件vetur的问题,关闭了就行了。打开vscode-首选项-设置-工作区设置
把"vetur.validation.template": true改成
"vetur.validation.template": false
保存一下就解决了。
网友评论