原文:template cannot be keyed. Place the key on real elements instead.

template cannot be keyed. Place the key on real elements instead. 一 总结 一句话总结: 原因:vue不支持在 template 元素上绑定属性。比如这里想绑定 key 属性就不行。 解决方法:可以改成div或者 不使用template元素做for循环 二 cannot be keyed. Place the key on real ...

2019-12-22 05:03 0 2122 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM