方法有两种: 1.将template直接换成div 2.使用scope插槽的template被包裹使用v-for的template包裹
方法有两种:
1.将template直接换成div
2.使用scope插槽的template被包裹使用v-for的template包裹
错误:
正确:
上一篇文章,
uniapp踩坑之项目:cover-view文本控件数据渲染出不来_意初的博客-CSDN博客uniapp踩坑之项目:cover-view文本控件数据渲染出不来。在html里用模板字符串正常写{ {}}却出不来数据,用v-if进行节点重建即可https://blog.csdn.net/weixin_43928112/article/details/131005015