Commit 8e2afca3c4fd0ca5036331b5090ead4f979c3a1b

Authored by Aresn
Committed by GitHub
2 parents 7bafe9d9 ef939fa0

Merge pull request #4483 from kangkai124/2.0

fix:  unknow custom element <i-button> when use  babel-plugin-import
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/components/color-picker/color-picker.vue
@@ -125,6 +125,7 @@ import Saturation from &#39;./saturation.vue&#39;; @@ -125,6 +125,7 @@ import Saturation from &#39;./saturation.vue&#39;;
125 import Hue from './hue.vue'; 125 import Hue from './hue.vue';
126 import Alpha from './alpha.vue'; 126 import Alpha from './alpha.vue';
127 import iInput from '../input/input.vue'; 127 import iInput from '../input/input.vue';
  128 +import iButton from '../button/button.vue';
128 import Locale from '../../mixins/locale'; 129 import Locale from '../../mixins/locale';
129 import {oneOf} from '../../utils/assist'; 130 import {oneOf} from '../../utils/assist';
130 import Emitter from '../../mixins/emitter'; 131 import Emitter from '../../mixins/emitter';
@@ -134,7 +135,7 @@ import {changeColor, toRGBAString} from &#39;./utils&#39;; @@ -134,7 +135,7 @@ import {changeColor, toRGBAString} from &#39;./utils&#39;;
134 export default { 135 export default {
135 name: 'ColorPicker', 136 name: 'ColorPicker',
136 137
137 - components: {Drop, RecommendColors, Saturation, Hue, Alpha, iInput}, 138 + components: {Drop, RecommendColors, Saturation, Hue, Alpha, iInput, iButton},
138 139
139 directives: {clickOutside, TransferDom}, 140 directives: {clickOutside, TransferDom},
140 141