From 17afe2dac41699c0db2e43d51890620c51101cda Mon Sep 17 00:00:00 2001 From: Leo <1151215064@qq.com> Date: Fri, 27 Nov 2020 15:16:39 +0800 Subject: [PATCH] fix: Replace old clickoutside file references --- .../editor/color-picker/src/main.vue | 315 +++++++++--------- packages/autocomplete/src/autocomplete.vue | 2 +- packages/date-picker/src/panel/date-range.vue | 2 +- packages/date-picker/src/panel/date.vue | 2 +- .../date-picker/src/panel/month-range.vue | 2 +- packages/date-picker/src/picker.vue | 2 +- packages/dropdown/src/dropdown.vue | 2 +- packages/table/src/filter-panel.vue | 2 +- 8 files changed, 171 insertions(+), 158 deletions(-) diff --git a/examples/components/theme-configurator/editor/color-picker/src/main.vue b/examples/components/theme-configurator/editor/color-picker/src/main.vue index 21f9caeb0..776ecb4c1 100644 --- a/examples/components/theme-configurator/editor/color-picker/src/main.vue +++ b/examples/components/theme-configurator/editor/color-picker/src/main.vue @@ -3,188 +3,201 @@ :class="[ 'el-color-picker', colorDisabled ? 'is-disabled' : '', - colorSize ? `el-color-picker--${ colorSize }` : '' + colorSize ? `el-color-picker--${colorSize}` : '' ]" - v-clickoutside="hide"> + v-clickoutside="hide" + >
- - + }" + > + - +
+ ref="dropdown" + :class="['el-color-picker__panel', popperClass || '']" + v-model="showPicker" + @pick="confirmValue" + @clear="clearValue" + :color="color" + :show-alpha="showAlpha" + :predefine="predefine" + :colorList="colorList" + > diff --git a/packages/autocomplete/src/autocomplete.vue b/packages/autocomplete/src/autocomplete.vue index 355369fb6..a001754e2 100644 --- a/packages/autocomplete/src/autocomplete.vue +++ b/packages/autocomplete/src/autocomplete.vue @@ -61,7 +61,7 @@