table展开速度优化(懒加载)
el-table用的 @row-click=“clickTable” 拿到的点击那一行得到的内容
data () {
return {
count: 50,
}
}
methods: {
load () {
this.count += 50
},
clickTable (row, index, e) {
this.count = 50
this.$refs.refTable.toggleRowEx
原创
2020-11-12 09:39:43 ·
361 阅读 ·
0 评论