Skip to content

Commit e6089b9

Browse files
committed
chore(dist): build
1 parent 72c1b08 commit e6089b9

File tree

5 files changed

+24
-6
lines changed

5 files changed

+24
-6
lines changed

dist/he-tree-vue.cjs.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* he-tree-vue v3.0.0
2+
* he-tree-vue v3.0.1
33
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44
* Homepage: https://he-tree-vue.phphe.com
55
* Released under the MIT License.
@@ -1684,6 +1684,8 @@ var Draggable_vue = {
16841684
},
16851685
// override
16861686
getPathByBranchEl: function getPathByBranchEl(branchEl) {
1687+
var store = this.treesStore.store;
1688+
16871689
var getAttrPath = function getAttrPath(el) {
16881690
var pathStr = el.getAttribute('data-tree-node-path');
16891691

@@ -1725,6 +1727,10 @@ var Draggable_vue = {
17251727
index2 = _step3$value.index;
17261728

17271729
if (hp.hasClass(el, 'tree-branch') || hp.hasClass(el, 'tree-placeholder')) {
1730+
if (el === store.dragBranchEl) {
1731+
continue;
1732+
}
1733+
17281734
if (el === branchEl) {
17291735
break;
17301736
}

dist/he-tree-vue.esm.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* he-tree-vue v3.0.0
2+
* he-tree-vue v3.0.1
33
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44
* Homepage: https://he-tree-vue.phphe.com
55
* Released under the MIT License.
@@ -1678,6 +1678,8 @@ var Draggable_vue = {
16781678
},
16791679
// override
16801680
getPathByBranchEl: function getPathByBranchEl(branchEl) {
1681+
var store = this.treesStore.store;
1682+
16811683
var getAttrPath = function getAttrPath(el) {
16821684
var pathStr = el.getAttribute('data-tree-node-path');
16831685

@@ -1719,6 +1721,10 @@ var Draggable_vue = {
17191721
index2 = _step3$value.index;
17201722

17211723
if (hasClass(el, 'tree-branch') || hasClass(el, 'tree-placeholder')) {
1724+
if (el === store.dragBranchEl) {
1725+
continue;
1726+
}
1727+
17221728
if (el === branchEl) {
17231729
break;
17241730
}

dist/he-tree-vue.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* he-tree-vue v3.0.0
2+
* he-tree-vue v3.0.1
33
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44
* Homepage: https://he-tree-vue.phphe.com
55
* Released under the MIT License.
@@ -4855,6 +4855,8 @@
48554855
},
48564856
// override
48574857
getPathByBranchEl: function getPathByBranchEl(branchEl) {
4858+
var store = this.treesStore.store;
4859+
48584860
var getAttrPath = function getAttrPath(el) {
48594861
var pathStr = el.getAttribute('data-tree-node-path');
48604862

@@ -4896,6 +4898,10 @@
48964898
index2 = _step3$value.index;
48974899

48984900
if (hasClass(el, 'tree-branch') || hasClass(el, 'tree-placeholder')) {
4901+
if (el === store.dragBranchEl) {
4902+
continue;
4903+
}
4904+
48994905
if (el === branchEl) {
49004906
break;
49014907
}

dist/he-tree-vue.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "he-tree-vue",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "A draggable sortable nested vue tree component.",
55
"main": "dist/he-tree-vue.cjs.js",
66
"module": "dist/he-tree-vue.esm.js",

0 commit comments

Comments
 (0)