Avatar support global setting
This commit is contained in:
parent
e44ba4d4ad
commit
55238beb01
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@
|
|||
validator (value) {
|
||||
return oneOf(value, ['small', 'large', 'default']);
|
||||
},
|
||||
default: 'default'
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
},
|
||||
src: {
|
||||
type: String
|
||||
|
|
Loading…
Add table
Reference in a new issue