Update color-picker.vue

This commit is contained in:
Aresn 2018-09-13 09:46:45 +08:00 committed by GitHub
parent e2f9ad05ec
commit ef939fa052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,15 +88,15 @@
</template> </template>
<template v-else>{{formatColor}}</template> <template v-else>{{formatColor}}</template>
</span> </span>
<iButton <i-button
ref="clear" ref="clear"
:tabindex="0" :tabindex="0"
size="small" size="small"
@click.native="handleClear" @click.native="handleClear"
@keydown.enter="handleClear" @keydown.enter="handleClear"
@keydown.native.esc="closer" @keydown.native.esc="closer"
>{{t('i.datepicker.clear')}}</iButton> >{{t('i.datepicker.clear')}}</i-button>
<iButton <i-button
ref="ok" ref="ok"
:tabindex="0" :tabindex="0"
size="small" size="small"
@ -105,7 +105,7 @@
@keydown.native.tab="handleLastTab" @keydown.native.tab="handleLastTab"
@keydown.enter="handleSuccess" @keydown.enter="handleSuccess"
@keydown.native.esc="closer" @keydown.native.esc="closer"
>{{t('i.datepicker.ok')}}</iButton> >{{t('i.datepicker.ok')}}</i-button>
</div> </div>
</div> </div>
</transition> </transition>