Skip to content

Commit 5a8eaaa

Browse files
committed
fix: close #64 , color-picker transfer
1 parent ee1fa1f commit 5a8eaaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/routers/color-picker.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<Row>
33
<Col span="8">
4-
<ColorPicker v-model="color6" size="large" />
4+
<ColorPicker v-model="color6" size="large" transfer/>
55
</Col>
66
<Col span="8">
77
<ColorPicker v-model="color6" />

src/components/color-picker/color-picker.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418
}
419419
420420
if (this.transfer) {
421-
const { $el } = this.$refs.drop;
421+
const $el = this.$refs.drop.$refs.drop;
422422
if ($el === event.target || $el.contains(event.target)) {
423423
return;
424424
}

0 commit comments

Comments
 (0)