@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/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/store/graphStore.ts +1 -1
package/package.json
CHANGED
package/src/store/graphStore.ts
CHANGED
|
@@ -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
|
|
658
|
+
const child = shapes.value.find(s => s.id == shapeId)
|
|
659
659
|
if (child) {
|
|
660
660
|
expandParentByChild({
|
|
661
661
|
shapes: shapes.value,
|