Skip to content

Commit

Permalink
fix(Table): validateTableCellData not exported (Tencent#4848)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-0808 committed Jan 20, 2025
1 parent c6b200c commit 628e651
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/table/hooks/useEditableRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export default function useRowEdit(props: PrimaryTableProps) {
errorListMap,
editableKeysMap,
validateTableData,
validateTableCellData,
validateRowData,
onRuleChange,
clearValidateData,
Expand Down
2 changes: 2 additions & 0 deletions src/table/primary-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export default defineComponent({
editableKeysMap,
validateRowData,
validateTableData,
validateTableCellData,
onRuleChange,
clearValidateData,
onUpdateEditedCell,
Expand Down Expand Up @@ -201,6 +202,7 @@ export default defineComponent({
context.expose({
validateRowData,
validateTableData,
validateTableCellData,
clearValidateData,
refreshTable: () => {
primaryTableRef.value.refreshTable();
Expand Down

0 comments on commit 628e651

Please sign in to comment.