![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
cgfbchooo
这个作者很懒,什么都没留下…
展开
-
Vue中使用v-for渲染表格
自己写了一个组件叫做t-item,作为表格的每一行,代码如下: <table border="1"> <thead> <tr> <th>A</th> <th>B</th> </tr&原创 2018-12-26 16:33:23 · 7030 阅读 · 0 评论 -
Vue自定义组件多重v-for循环
只是作为个人记录用。 数据结构: list: [ {author: Mike, content: 'Mike content', subitem: [1, 2, 3]}, {author: Jack, content: 'Jack content', subitem: [4, 5, 6]}, ] 方式1:直接将子组件写入父组件(其实理论上只有...原创 2018-12-25 16:20:35 · 10093 阅读 · 0 评论