DatePicker support global setting
This commit is contained in:
parent
604ae4d3a8
commit
20cfa1b6da
1 changed files with 6 additions and 1 deletions
|
@ -171,6 +171,9 @@
|
||||||
size: {
|
size: {
|
||||||
validator (value) {
|
validator (value) {
|
||||||
return oneOf(value, ['small', 'large', 'default']);
|
return oneOf(value, ['small', 'large', 'default']);
|
||||||
|
},
|
||||||
|
default () {
|
||||||
|
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
placeholder: {
|
placeholder: {
|
||||||
|
@ -185,7 +188,9 @@
|
||||||
},
|
},
|
||||||
transfer: {
|
transfer: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default () {
|
||||||
|
return this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String
|
type: String
|
||||||
|
|
Loading…
Add table
Reference in a new issue