Skip to content

Commit 84037f8

Browse files
fix(Modal): fix modal locale (#6423)
1 parent 3e46f27 commit 84037f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/modal/ConfirmDialog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,9 @@ export default defineComponent<ConfirmDialogProps>({
165165
buttonProps={cancelButtonProps}
166166
prefixCls={`${rootPrefixCls}-btn`}
167167
>
168-
{renderSomeContent(okCancel) || locale.value.cancelText}
168+
{renderSomeContent(props.cancelText) || locale.value.cancelText}
169169
</ActionButton>
170170
);
171-
172171
return (
173172
<Dialog
174173
prefixCls={prefixCls}

0 commit comments

Comments
 (0)