vue开发中v-for在Eslint的规则检查下出现:Elements in iteration expect to have 'v-bind:key' directives
2019-04-29 18:21
1526 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_39009562/article/details/89680554
在使用VScode编辑器vue开发过程中出现:
[vue/require-v-for-key] Elements in iteration expect to have 'v-bind:key' directives.
如图:
- 原因:这是因为我们安装了ESLint插件,对vue进行了eslint检查,只需将这个规则检查屏蔽掉即可,具体操作如下: 打开
vscode
=>文件=>首选项=>设置=>搜索框输入vetur.validation.template
将对勾取消即可不再报错
相关文章推荐
- vue开发中v-for在Eslint的规则检查下出现:Elements in iteration expect to have 'v-bind:key' directives
- vscode编写vue代码v-for时出现Elements in iteration expect to have 'v-bind:key' directives.
- 5.vue开发中v-for在Eslint的规则检查下出现:Expected 'v-bind:key' directives to use the viriables错误
- vue 出现Elements in iteration expect to have 'v-bind:key' directives问题
- vue 出现Elements in iteration expect to have 'v-bind:key' directives问题
- vetur插件提示 [vue-language-server] Elements in iteration expect to have 'v-bind:key' directives错误的解决办法
- Elements in iteration expect to have 'v-bind:key' directives
- v-for报"Elements in iteration expect to have 'v-bind:key' directives"错误的解决方案
- vscode中vetur插件 [vue-language-server] Elements in iteration expect to have 'v-bind:key' directives错误
- ssh开发中插入数据时遇到 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
- Key factors to look for in a motor insurance
- 微信小程序开发warning: Now you can provide attr "wx:key" for a "wx:for" to improve performance...
- 插入mysql语句报错:1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
- 解决Android开发中在调试模式下运行一个程序后出现Application (xxx) is waiting for the debugger to attach
- Ubentu系统下Qt开发出现“Undefined reference to utable for ...”
- eclipse中出现Cannot bind to local 8601 for debugger解决方法
- ReactNativeiOS(三)开发零碎3 warning: Each child in ar array or integrator should have a unique "key" prop
- How to fix no public key available for the following key IDs in debian
- Apache安装出现Address already in use:make_sock:could not bind to adress...
- git 出现 The current branch is not configured for pull No value for key branch.master.merge found in configuration