0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Vue.jsのエラー「Elements in iteration expect to have 'v-bind:key' directives vue/require-v-for-key」の解決方法

Last updated at Posted at 2021-11-18

#エラー内容
v-forタグを使ったら、
Elements in iteration expect to have 'v-bind:key' directives vue/require-v-for-key
が発生

#エラー原因
v-bind:を使って、キー属性を指定してください とのこと

#解決方法
# 元コード

# 解決コード
    <tr v-for="(item,key) in data.fire_data" v-bind:key='key'>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?