当前位置: 代码迷 >> 综合 >> Do not use v-for index as key on <transition-group> children, this is the same as not using keys.
  详细解决方案

Do not use v-for index as key on <transition-group> children, this is the same as not using keys.

热度:38   发布时间:2023-09-27 10:42:23.0

(Emitted value instead of an instance of Error) Do not use v-for index as key on <transition-group> children, this is the same as not using keys.

如:将v-for="(item,index) in list"的:key="index",改为:key="item.id"

  相关解决方案