Compare commits
5 Commits
master
...
feat_local
| Author | SHA1 | Date |
|---|---|---|
|
|
ff53455298 | |
|
|
cc10413964 | |
|
|
3523d6016e | |
|
|
1c213fa636 | |
|
|
ff95b3538e |
|
|
@ -26,6 +26,10 @@ export default {
|
|||
hour: '时',
|
||||
minute: '分',
|
||||
},
|
||||
'dialog': {
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
},
|
||||
'number-keyboard': {
|
||||
confirm: '确定',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import Vue from 'vue'
|
||||
import {t} from '../_locale'
|
||||
import Dialog from './dialog'
|
||||
|
||||
/* istanbul ignore next */
|
||||
|
|
@ -76,9 +77,9 @@ Dialog.confirm = ({
|
|||
icon = '',
|
||||
iconSvg = false,
|
||||
content = '',
|
||||
cancelText = '取消',
|
||||
cancelText = t('md.dialog.cancel'),
|
||||
cancelWarning = false,
|
||||
confirmText = '确定',
|
||||
confirmText = t('md.dialog.confirm'),
|
||||
confirmWarning = false,
|
||||
closable = false,
|
||||
transition,
|
||||
|
|
@ -132,7 +133,7 @@ Dialog.alert = ({
|
|||
icon = '',
|
||||
iconSvg = false,
|
||||
content = '',
|
||||
confirmText = '确定',
|
||||
confirmText = t('md.dialog.confirm'),
|
||||
closable = false,
|
||||
warning = false,
|
||||
transition,
|
||||
|
|
|
|||
Loading…
Reference in New Issue