update Button

This commit is contained in:
梁灏 2017-08-21 16:33:09 +08:00
parent 8dab987ec7
commit 6c912a7b14

View file

@ -17,7 +17,7 @@
props: {
type: {
validator (value) {
return oneOf(value, ['primary', 'ghost', 'dashed', 'text', 'info', 'success', 'warning', 'error']);
return oneOf(value, ['primary', 'ghost', 'dashed', 'text', 'info', 'success', 'warning', 'error', 'default']);
}
},
shape: {