Commit a7dc3691420d514fdd4818552aa45428244bd67f
1 parent
0fdbb26b
add blur
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/color-picker/color-picker.vue
@@ -84,7 +84,7 @@ | @@ -84,7 +84,7 @@ | ||
84 | <div :class="[prefixCls + '-confirm']"> | 84 | <div :class="[prefixCls + '-confirm']"> |
85 | <span :class="confirmColorClasses"> | 85 | <span :class="confirmColorClasses"> |
86 | <template v-if="editable"> | 86 | <template v-if="editable"> |
87 | - <i-input :value="formatColor" size="small" @on-enter="handleEditColor"></i-input> | 87 | + <i-input :value="formatColor" size="small" @on-enter="handleEditColor" @on-blur="handleEditColor"></i-input> |
88 | </template> | 88 | </template> |
89 | <template v-else>{{formatColor}}</template> | 89 | <template v-else>{{formatColor}}</template> |
90 | </span> | 90 | </span> |