Button add 4 new type

Button add 4 new type
This commit is contained in:
梁灏 2016-11-21 09:48:16 +08:00
parent 9084eb1872
commit b88f42eb62
5 changed files with 34 additions and 1 deletions

View file

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