原文: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