Commit 22d9901bd27ffe734873e077ba50c1a767b44e72
1 parent
f39e6e3b
update
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/button/button.vue
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | props: { |
20 | 20 | type: { |
21 | 21 | validator (value) { |
22 | - return oneOf(value, ['default', 'primary', 'dashed', 'text', 'info', 'success', 'warning', 'error']); | |
22 | + return oneOf(value, ['default', 'primary', 'dashed', 'text', 'info', 'success', 'warning', 'error', 'search', 'confirm', 'cancel', 'reset']); | |
23 | 23 | }, |
24 | 24 | default: 'default' |
25 | 25 | }, | ... | ... |