style: perfect tableDemo

This commit is contained in:
kailong321200875
2022-08-13 09:03:52 +08:00
parent c43e833582
commit c589edd960
7 changed files with 22 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ export const useTable = <T = any>(config?: UseTableConfig<T>) => {
const register = (ref: typeof Table & TableExpose, elRef: ComponentRef<typeof ElTable>) => {
tableRef.value = ref
elTableRef.value = elRef
elTableRef.value = unref(elRef)
}
const getTable = async () => {