@next-core/editor-bricks-helper 0.42.1 → 0.42.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.42.2](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.1...@next-core/editor-bricks-helper@0.42.2) (2022-06-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **BuilderDataManager:** add node redirect parent error ([ac3e0cc](https://github.com/easyops-cn/next-core/commit/ac3e0cc2ab4115062eb057fce803de23bbd77cbf))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.42.1](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.0...@next-core/editor-bricks-helper@0.42.1) (2022-06-15)
7
18
 
8
19
  **Note:** Version bump only for package @next-core/editor-bricks-helper
@@ -1218,7 +1218,7 @@
1218
1218
  realDragStatus = "inside";
1219
1219
  } else {
1220
1220
  var overEdge = edges.find(item => item.child === dragOverNodeUid);
1221
- var overParentNode = nodes.find(item => item.$$uid === overEdge.parent);
1221
+ var overParentNode = nodes.find(item => dragStatus === "inside" ? item.$$uid === overEdge.child : item.$$uid === overEdge.parent);
1222
1222
 
1223
1223
  if (overParentNode.instanceId !== parentInstanceId) {
1224
1224
  // 如果instanceId不相同, 说明父元素被修改, dragStatus强制等于inside, uid也需要切换成实际父元素的uid