Commit 26790fa6 authored by 任建锋's avatar 任建锋

--

parent 6bc86116
...@@ -3371,7 +3371,8 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -3371,7 +3371,8 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
while (node.parent) { while (node.parent) {
var child = node; var child = node;
node = node.parent; node = node.parent;
path.unshift(node.getChildIndex(child)); var index = node.children.indexOf(child);
path.unshift(index);
if (node === untilNode) { if (node === untilNode) {
break; break;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment