diff --git a/src/modal/index.ts b/src/modal/index.ts index fe7c326..528c2d0 100644 --- a/src/modal/index.ts +++ b/src/modal/index.ts @@ -38,12 +38,12 @@ export default class Modal extends Component { static i18n = new I18n(navigator.language !== 'zh-CN' ? 'en-US' : 'zh-CN', { 'en-US': { ok: 'OK', - cancel: 'Cancel' + cancel: 'Cancel', }, 'zh-CN': { ok: '确定', - cancel: '取消' - } + cancel: '取消', + }, }) private $title: $.$ private $body: $.$