How to eliminate the error of v-for?

the editor is an error message when vscode, uses v-for. I know it"s actually fine and works normally, but it"s really uncomfortable to see the error report!

              <div v-for="item in recommends" >
                <a :href="item.linkUrl">
                  <img :src="item.picUrl" alt="">
                </a>
              </div>

:key="item"

Apr.14,2021

if the loop item has a unique key, set key to that key, otherwise do key

with the index like this.
<div v-for="(item, index) in recommends" :key="index">
  <a :href="item.linkUrl">
    <img :src="item.picUrl" alt="">
  </a>
</div>
Menu