问题大概如题目描述的那样
也就是 v-for循环出来的 td
然后 点击外部一个button 让其中一个td隐藏 这个怎么实现
就是绑定
如图 也就是说 点击按钮“减少了”只将“回来了”这一列隐藏 点击再显示
{ { col.name }}
{ { entry[col.key] }}
选择奖项
没有更多了
{ { item1.name }}
{ { checked }}
- «
{ { index }}
- »
- 共{ {all}}页
Vue.component('pagination', {
template: "#paginationTpl",
// props: [pageAll],
methods: {
btnClick: function(index) {
console.log(index)
}
}
})
var vm = new Vue({
el: "#item_list",
data: {<