@mx-sose-front/mx-sose-graph 1.1.7 → 1.1.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-sose-front/mx-sose-graph",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "A Vue3 graph visualization plugin library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -655,7 +655,7 @@ export const useGraphStore = defineStore('graph', () => {
655
655
  // 在生成 payloads 之前,把父扩容先做掉
656
656
  const shapeId = ownerPayload?.shapeId
657
657
  if (shapeId != null) {
658
- const child = shapes.value.find(s => s.id === shapeId)
658
+ const child = shapes.value.find(s => s.id == shapeId)
659
659
  if (child) {
660
660
  expandParentByChild({
661
661
  shapes: shapes.value,