本地运行vue项目因为警告导致 不能启动
(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.
意思是在<transition-group>子元素上,不要使用v-for索引作为键,否则与不使用键相同
解决方案:
修改 :key=”index”
版权声明:本文为qq_24343389原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。