Skip to content

🐞3.1.6 节点删除逻辑改变 导致通过stencil.load导入当前已经在stencil中的节点时 变成空白 #5063

Description

@bycsrhq

问题描述

2.18.1升级到升级到3.1.6后 发现连续两次调用stencil.load(nodes)时节点会变成空白
推测是因为节点删除逻辑发生了改变 删除后会立即清空节点的属性
两次调用使用相同的引用 第二次load时先删除原有节点A 把属性清空 再添加A时就是一个空节点

重现链接

暂无

重现步骤

node = createNode(xxx)
stencil.load(node,group)
stencil.load(node,group)

预期行为

第二次load时正常显示节点

平台

  • 操作系统: [ Windows, ]
  • 网页浏览器: [edge]
  • X6 版本: [3.1.6.]

屏幕截图或视频(可选但最好有)

No response

补充说明(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for maintainerTriage or intervention needed from a maintainer

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions