Commit 6c912a7b14969b89d6d9fbd967a5536e668247db
1 parent
8dab987e
update Button
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/button/button.vue
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | props: { |
| 18 | 18 | type: { |
| 19 | 19 | validator (value) { |
| 20 | - return oneOf(value, ['primary', 'ghost', 'dashed', 'text', 'info', 'success', 'warning', 'error']); | |
| 20 | + return oneOf(value, ['primary', 'ghost', 'dashed', 'text', 'info', 'success', 'warning', 'error', 'default']); | |
| 21 | 21 | } |
| 22 | 22 | }, |
| 23 | 23 | shape: { | ... | ... |