@next-core/editor-bricks-helper 0.50.95 → 0.50.97

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.
@@ -577,7 +577,7 @@
577
577
  return nodes.find(node => node.$$uid === parentUid).$$isExpandableTemplate;
578
578
  }
579
579
 
580
- var jsonFieldsInBrick = ["properties", "events", "lifeCycle", "params", "if", "transform"];
580
+ var jsonFieldsInBrick = ["properties", "events", "lifeCycle", "params", "if", "transform", "dataSource"];
581
581
  var yamlFieldsInBrick = ["permissionsPreCheck", "transformFrom"];
582
582
  var ignoredFieldsInBrick = ["brick", "template", "portal", "slots", "id", "children", "instanceId"];
583
583
  // The reverse operation of *normalize*.
@@ -1067,7 +1067,7 @@
1067
1067
  * 如果是属于拖动进某个节点中, 默认使用 content
1068
1068
  * 其他情况, 使用被拖拽节点的mountPoint
1069
1069
  */
1070
- var mountPoint = isDragRoot ? "bricks" : dragStatus === "inside" ? "content" : dragOverEdge.mountPoint;
1070
+ var mountPoint = isDragRoot ? "bricks" : dragStatus === "inside" ? "" : dragOverEdge.mountPoint;
1071
1071
  var parentEdge = edges.find(item => item.child === dragOverNodeUid);
1072
1072
  /**
1073
1073
  * 如果是根节点, parentUid强制等于rootId