Skip to content

Commit 7e9e5af

Browse files
committed
fix: table emptyText locale not work, close #4805
1 parent a6d9d36 commit 7e9e5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/table/Table.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ const InteralTable = defineComponent<
634634
v-slots={{
635635
...slots,
636636
emptyText: () =>
637-
slots.emptyText?.() || tableLocale.value.emptyText || renderEmpty.value('Table'),
637+
slots.emptyText?.() || props.locale?.emptyText || renderEmpty.value('Table'),
638638
}}
639639
/>
640640
{bottomPaginationNode}

0 commit comments

Comments
 (0)