iview 和 element-ui 表格单击一行勾选复选框
<template> <Table ref="table" @on-row-click="selectThisRow"></Table></template><script>export default { methods: { selectThisRow(data, index) { this.$refs.table.toggleSelect(index); }, }}</script>
原创
2020-07-31 13:37:07 ·
490 阅读 ·
0 评论