feat: add language switch

This commit is contained in:
JimmFly
2023-01-06 15:00:42 +08:00
parent 334aaa2d87
commit 3d5f239e4e
9 changed files with 184 additions and 134 deletions

View File

@@ -52,7 +52,7 @@ export const Confirm = ({
}}
style={{ marginRight: '24px' }}
>
{cancelText}
{cancelText === 'Cancel' ? t('Cancel') : cancelText}
</Button>
<Button
type={confirmType}