<template v-slot:[rgums+index] v-for="(g,index) in gums"> <div class="title">{{g}}</div> </template>
上述代码 eslint 报错:
eslint
Elements in iteration expect to have 'v-bind:key' directives
这应该是 eslint 的bug了。
请问,这种情况该怎么解决?
Elements in iteration expect to have 'v-bind:key' directives都提示需要key了
key
1.4m articles
1.4m replys
5 comments
57.0k users