ninic

导航

vetur插件提示 [vue-language-server] Elements in iteration expect to have 'v-bind:key' directives

错误如下图所示:

错误提示:

[vue-language-server] Elements in iteration expect to have 'v-bind:key' directives.
Renders the element or template block multiple times based on the source data

 解决方法:

更改vetur配置

文件-》首选项-》设置-》用户设置(将"vetur.validation.template": 设置为false。)

posted on 2017-10-20 10:32  ninic  阅读(5235)  评论(0编辑  收藏  举报