diff --git a/dist.zip b/dist.zip index 0eb3172..95962ff 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/src/components/tableList/index.vue b/src/components/tableList/index.vue index 8d8fcce..fbb24fb 100644 --- a/src/components/tableList/index.vue +++ b/src/components/tableList/index.vue @@ -104,7 +104,11 @@ onMounted(() => { const tableDom = document.querySelector('#out-table') emits('handleTable', tableDom) }) -defineExpose({ tableRef, pageParams, setRadio, toggleRowSelect, getSelectRows }) + +function clearSelection () { + tableRef.value.clearSelection() +} +defineExpose({ tableRef, pageParams, setRadio, toggleRowSelect, getSelectRows, clearSelection })