parent
b87367b53a
commit
c294f6b402
|
@ -42,7 +42,13 @@ export default defineComponent({
|
|||
type: String,
|
||||
default: 'button'
|
||||
},
|
||||
size: String,
|
||||
size: {
|
||||
type: String,
|
||||
default: '',
|
||||
validator(val: string) {
|
||||
return ['large', 'medium', 'small', 'mini', ''].includes(val)
|
||||
}
|
||||
},
|
||||
round: Boolean,
|
||||
plain: Boolean,
|
||||
circle: Boolean,
|
||||
|
@ -53,5 +59,4 @@ export default defineComponent({
|
|||
setup(props, context) {
|
||||
return $setup({ props, context, template })
|
||||
}
|
||||
}
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue