Commit a7dc3691420d514fdd4818552aa45428244bd67f

Authored by 梁灏
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 84 <div :class="[prefixCls + '-confirm']">
85 85 <span :class="confirmColorClasses">
86 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 88 </template>
89 89 <template v-else>{{formatColor}}</template>
90 90 </span>
... ...