Commit 4504bd9ceaf0240b567e618e8f4a0644cc72a857
Committed by
GitHub
1 parent
16c2b8d2
unknow custom element <i-button>
unknow custom element <i-button> when use babel-plugin-import
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
src/components/color-picker/color-picker.vue
| ... | ... | @@ -88,15 +88,15 @@ |
| 88 | 88 | </template> |
| 89 | 89 | <template v-else>{{formatColor}}</template> |
| 90 | 90 | </span> |
| 91 | - <i-button | |
| 91 | + <iButton | |
| 92 | 92 | ref="clear" |
| 93 | 93 | :tabindex="0" |
| 94 | 94 | size="small" |
| 95 | 95 | @click.native="handleClear" |
| 96 | 96 | @keydown.enter="handleClear" |
| 97 | 97 | @keydown.native.esc="closer" |
| 98 | - >{{t('i.datepicker.clear')}}</i-button> | |
| 99 | - <i-button | |
| 98 | + >{{t('i.datepicker.clear')}}</iButton> | |
| 99 | + <iButton | |
| 100 | 100 | ref="ok" |
| 101 | 101 | :tabindex="0" |
| 102 | 102 | size="small" |
| ... | ... | @@ -105,7 +105,7 @@ |
| 105 | 105 | @keydown.native.tab="handleLastTab" |
| 106 | 106 | @keydown.enter="handleSuccess" |
| 107 | 107 | @keydown.native.esc="closer" |
| 108 | - >{{t('i.datepicker.ok')}}</i-button> | |
| 108 | + >{{t('i.datepicker.ok')}}</iButton> | |
| 109 | 109 | </div> |
| 110 | 110 | </div> |
| 111 | 111 | </transition> |
| ... | ... | @@ -124,6 +124,7 @@ import Saturation from './saturation.vue'; |
| 124 | 124 | import Hue from './hue.vue'; |
| 125 | 125 | import Alpha from './alpha.vue'; |
| 126 | 126 | import iInput from '../input/input.vue'; |
| 127 | +import iButton from '../button/button.vue'; | |
| 127 | 128 | import Locale from '../../mixins/locale'; |
| 128 | 129 | import {oneOf} from '../../utils/assist'; |
| 129 | 130 | import Emitter from '../../mixins/emitter'; | ... | ... |