This commit is contained in:
梁灏 2017-09-19 16:45:02 +08:00
parent e7ad415432
commit 0460a1e811
11 changed files with 211 additions and 53 deletions

View file

@ -7,6 +7,7 @@
:class="inputClasses"
:disabled="disabled"
:checked="currentValue"
:name="name"
@change="change">
</span><slot>{{ label }}</slot>
</label>
@ -44,6 +45,9 @@
validator (value) {
return oneOf(value, ['small', 'large', 'default']);
}
},
name: {
type: String
}
},
data () {