unknow custom element <i-button>
unknow custom element <i-button> when use babel-plugin-import
This commit is contained in:
parent
16c2b8d26e
commit
4504bd9cea
1 changed files with 5 additions and 4 deletions
|
@ -88,15 +88,15 @@
|
||||||
</template>
|
</template>
|
||||||
<template v-else>{{formatColor}}</template>
|
<template v-else>{{formatColor}}</template>
|
||||||
</span>
|
</span>
|
||||||
<i-button
|
<iButton
|
||||||
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')}}</i-button>
|
>{{t('i.datepicker.clear')}}</iButton>
|
||||||
<i-button
|
<iButton
|
||||||
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')}}</i-button>
|
>{{t('i.datepicker.ok')}}</iButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
@ -124,6 +124,7 @@ import Saturation from './saturation.vue';
|
||||||
import Hue from './hue.vue';
|
import Hue from './hue.vue';
|
||||||
import Alpha from './alpha.vue';
|
import Alpha from './alpha.vue';
|
||||||
import iInput from '../input/input.vue';
|
import iInput from '../input/input.vue';
|
||||||
|
import iButton from '../button/button.vue';
|
||||||
import Locale from '../../mixins/locale';
|
import Locale from '../../mixins/locale';
|
||||||
import {oneOf} from '../../utils/assist';
|
import {oneOf} from '../../utils/assist';
|
||||||
import Emitter from '../../mixins/emitter';
|
import Emitter from '../../mixins/emitter';
|
||||||
|
|
Loading…
Add table
Reference in a new issue