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

--

parent 6bc86116
......@@ -3371,7 +3371,8 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
while (node.parent) {
var child = node;
node = node.parent;
path.unshift(node.getChildIndex(child));
var index = node.children.indexOf(child);
path.unshift(index);
if (node === untilNode) {
break;
}
......
This diff is collapsed.
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