update locale
update locale
This commit is contained in:
parent
d5d4d8e3e9
commit
012cbf285f
9 changed files with 126 additions and 22 deletions
|
@ -24,6 +24,7 @@
|
|||
import Icon from '../icon';
|
||||
import iButton from '../button/button.vue';
|
||||
import { getScrollBarSize } from '../../utils/assist';
|
||||
import { t } from '../../locale';
|
||||
|
||||
const prefixCls = 'ivu-modal';
|
||||
|
||||
|
@ -51,11 +52,15 @@
|
|||
},
|
||||
okText: {
|
||||
type: String,
|
||||
default: '确定'
|
||||
default () {
|
||||
return t('i.modal.okText');
|
||||
}
|
||||
},
|
||||
cancelText: {
|
||||
type: String,
|
||||
default: '取消'
|
||||
default () {
|
||||
return t('i.modal.cancelText');
|
||||
}
|
||||
},
|
||||
loading: {
|
||||
type: Boolean,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue