hadoop测试环境sqoop使用

阅读 37

2023-09-21

<el-table ref="tableRef">
....
</el-table>
<script lang="ts" setup>
import { onMounted, reactive, ref, nextTick } from 'vue'
const clearBtn = () => {
  console.log('清空用户的选择项')
  tableRef.value.clearSelection()
}
</script>

使用官方方法 clearSelection, 

tableRef.value.clearSelection() 清除table组件 用户的选择项。

精彩评论(0)

0 0 举报