File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 11/*!
2- * he-tree-vue v1.2.1
2+ * he-tree-vue v1.2.2
33 * (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44 * Homepage: https://he-tree-vue.phphe.com
55 * Released under the MIT License.
Original file line number Diff line number Diff line change 11/*!
2- * he-tree-vue v1.2.1
2+ * he-tree-vue v1.2.2
33 * (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44 * Homepage: https://he-tree-vue.phphe.com
55 * Released under the MIT License.
Original file line number Diff line number Diff line change 11/*!
2- * he-tree-vue v1.2.1
2+ * he-tree-vue v1.2.2
33 * (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44 * Homepage: https://he-tree-vue.phphe.com
55 * Released under the MIT License.
28092809 }
28102810
28112811 /*!
2812- * draggable-helper v4.0.2
2812+ * draggable-helper v4.0.3
28132813 * (c) phphe <phphe@outlook.com> (https://github.com/phphe)
28142814 * Homepage: undefined
28152815 * Released under the MIT License.
29492949 } // detect draggable end =================================
29502950
29512951
2952- e . preventDefault ( ) ;
2952+ if ( ! index . isTouch ( e ) ) {
2953+ // Do not prevent event now and when the client is mobile. Doing so will result in elements within the node not triggering click event.
2954+ // 不要在此时, 客户端为移动端时阻止事件. 否则将导致节点内的元素不触发点击事件.
2955+ e . preventDefault ( ) ;
2956+ }
2957+
29532958 store . mouse = {
29542959 x : mouse . x ,
29552960 y : mouse . y
You can’t perform that action at this time.
0 commit comments