Skip to content

Commit 141feeb

Browse files
committed
chore(dist): build
1 parent d9074c2 commit 141feeb

File tree

6 files changed

+31
-9
lines changed

6 files changed

+31
-9
lines changed

dist/he-tree-vue.cjs.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* he-tree-vue v2.0.7
2+
* he-tree-vue v2.0.8
33
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44
* Homepage: https://he-tree-vue.phphe.com
55
* Released under the MIT License.
@@ -1465,7 +1465,7 @@ function makeTreeDraggable(treeEl) {
14651465
}
14661466

14671467
_context14.next = 13;
1468-
return hp.waitTime(30);
1468+
return hp.waitTime(0);
14691469

14701470
case 13:
14711471
hp.removeEl(maskTree);
@@ -1712,6 +1712,8 @@ var script = {
17121712
},
17131713
// override
17141714
getPathByBranchEl: function getPathByBranchEl(branchEl) {
1715+
var store = this.treesStore.store;
1716+
17151717
var getAttrPath = function getAttrPath(el) {
17161718
var pathStr = el.getAttribute('data-tree-node-path');
17171719

@@ -1753,6 +1755,10 @@ var script = {
17531755
index2 = _step3$value.index;
17541756

17551757
if (hp.hasClass(el, 'tree-branch') || hp.hasClass(el, 'tree-placeholder')) {
1758+
if (el === store.dragBranchEl) {
1759+
continue;
1760+
}
1761+
17561762
if (el === branchEl) {
17571763
break;
17581764
}

dist/he-tree-vue.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,10 @@
347347

348348

349349

350+
351+
352+
353+
350354

351355

352356

dist/he-tree-vue.esm.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* he-tree-vue v2.0.7
2+
* he-tree-vue v2.0.8
33
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44
* Homepage: https://he-tree-vue.phphe.com
55
* Released under the MIT License.
@@ -1459,7 +1459,7 @@ function makeTreeDraggable(treeEl) {
14591459
}
14601460

14611461
_context14.next = 13;
1462-
return waitTime(30);
1462+
return waitTime(0);
14631463

14641464
case 13:
14651465
removeEl(maskTree);
@@ -1706,6 +1706,8 @@ var script = {
17061706
},
17071707
// override
17081708
getPathByBranchEl: function getPathByBranchEl(branchEl) {
1709+
var store = this.treesStore.store;
1710+
17091711
var getAttrPath = function getAttrPath(el) {
17101712
var pathStr = el.getAttribute('data-tree-node-path');
17111713

@@ -1747,6 +1749,10 @@ var script = {
17471749
index2 = _step3$value.index;
17481750

17491751
if (hasClass(el, 'tree-branch') || hasClass(el, 'tree-placeholder')) {
1752+
if (el === store.dragBranchEl) {
1753+
continue;
1754+
}
1755+
17501756
if (el === branchEl) {
17511757
break;
17521758
}

dist/he-tree-vue.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* he-tree-vue v2.0.7
2+
* he-tree-vue v2.0.8
33
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)
44
* Homepage: https://he-tree-vue.phphe.com
55
* Released under the MIT License.
@@ -4701,7 +4701,7 @@
47014701
}
47024702

47034703
_context14.next = 13;
4704-
return waitTime(30);
4704+
return waitTime(0);
47054705

47064706
case 13:
47074707
removeEl(maskTree);
@@ -4948,6 +4948,8 @@
49484948
},
49494949
// override
49504950
getPathByBranchEl: function getPathByBranchEl(branchEl) {
4951+
var store = this.treesStore.store;
4952+
49514953
var getAttrPath = function getAttrPath(el) {
49524954
var pathStr = el.getAttribute('data-tree-node-path');
49534955

@@ -4989,6 +4991,10 @@
49894991
index2 = _step3$value.index;
49904992

49914993
if (hasClass(el, 'tree-branch') || hasClass(el, 'tree-placeholder')) {
4994+
if (el === store.dragBranchEl) {
4995+
continue;
4996+
}
4997+
49924998
if (el === branchEl) {
49934999
break;
49945000
}

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": "2.0.7",
3+
"version": "2.0.8",
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)