@zhongguo168a/yxeditor-common 0.0.67 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3878,11 +3878,11 @@ class ViewRepo extends ViewDict {
|
|
|
3878
3878
|
tailNode(node) {
|
|
3879
3879
|
let current = node;
|
|
3880
3880
|
while (current != null) {
|
|
3881
|
-
let com =
|
|
3881
|
+
let com = current.getComponent(RouteComponent);
|
|
3882
3882
|
if (com) {
|
|
3883
3883
|
return com.routeView;
|
|
3884
3884
|
}
|
|
3885
|
-
current =
|
|
3885
|
+
current = current.parent;
|
|
3886
3886
|
}
|
|
3887
3887
|
return null;
|
|
3888
3888
|
}
|