Skip to content

Commit

Permalink
fix(color-picker): [color-picker] fix color-picker props valid error
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr committed Jan 23, 2025
1 parent 05b7e6e commit 50873e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/color-picker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineComponent({
type: String,
default: '',
validator(val: string) {
return [' large', 'medium', 'small', 'mini', ''].includes(val)
return ['large', 'medium', 'small', 'mini', ''].includes(val)
}
},
format: {
Expand Down

0 comments on commit 50873e2

Please sign in to comment.