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