ColorPicker support global setting
This commit is contained in:
parent
8546804290
commit
737894dee2
2 changed files with 7 additions and 10 deletions
|
@ -168,11 +168,12 @@ export default {
|
|||
default: false,
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
validator(value) {
|
||||
return oneOf(value, ['small', 'large', 'default']);
|
||||
},
|
||||
default: 'default',
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
},
|
||||
hideDropDown: {
|
||||
type: Boolean,
|
||||
|
@ -200,7 +201,9 @@ export default {
|
|||
},
|
||||
transfer: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
default () {
|
||||
return this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
|
||||
}
|
||||
},
|
||||
name: {
|
||||
type: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue