Skip to content

Commit

Permalink
fix: table emptyText locale not work, close #4805
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Oct 26, 2021
1 parent a6d9d36 commit 7e9e5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ const InteralTable = defineComponent<
v-slots={{
...slots,
emptyText: () =>
slots.emptyText?.() || tableLocale.value.emptyText || renderEmpty.value('Table'),
slots.emptyText?.() || props.locale?.emptyText || renderEmpty.value('Table'),
}}
/>
{bottomPaginationNode}
Expand Down

0 comments on commit 7e9e5af

Please sign in to comment.