SlothSid的博客What: 报错Avoid using non-primitive value as key, use string/number value instead. ...发现新增item的key值被定义为对象了,去找新增item的代码 发现是插件nanoid用法错误 这才是正确的。 ...
cnmone的博客1.问题描述:在vue2.0+ 中做一个公用的评论组件,:key使用的时创建评论的时间,当加载更多的时候,会报错: Duplicate keys detected: '2019-01-24T07:15:35.000Z'.This may cause an update error. 2. 出问题的...