Fixed tree nodes not being clickable on the edges
This commit is contained in:
parent
d4c1e16fb4
commit
1479c1d44d
1 changed files with 7 additions and 7 deletions
|
@ -7,15 +7,15 @@
|
||||||
can: unref(canClick),
|
can: unref(canClick),
|
||||||
...unref(classes)
|
...unref(classes)
|
||||||
}"
|
}"
|
||||||
|
@click="onClick"
|
||||||
|
@mousedown="start"
|
||||||
|
@mouseleave="stop"
|
||||||
|
@mouseup="stop"
|
||||||
|
@touchstart="start"
|
||||||
|
@touchend="stop"
|
||||||
|
@touchcancel="stop"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@click="onClick"
|
|
||||||
@mousedown="start"
|
|
||||||
@mouseleave="stop"
|
|
||||||
@mouseup="stop"
|
|
||||||
@touchstart="start"
|
|
||||||
@touchend="stop"
|
|
||||||
@touchcancel="stop"
|
|
||||||
:style="[
|
:style="[
|
||||||
{
|
{
|
||||||
backgroundColor: unref(color),
|
backgroundColor: unref(color),
|
||||||
|
|
Loading…
Reference in a new issue