antvis/G6

树图TreeGraph首次render时先触发了afterrender事件 #6036

ZTao-z posted onGitHub

Describe the bug / 问题描述

<img width="472" alt="image" src="https://github.com/user-attachments/assets/3c7d9961-5ada-4c8a-9d3e-a29c7b6cf0e1">

树图首次渲染时,clear函数应该传入avoidEmit=true,避免触发 ’afterrender‘ 事件

No response

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

4.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


有兴趣提个 PR 修复该问题吗?

posted by Aarebecca 9 months ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 6 months ago

Fund this Issue

$0.00
Funded

Pull requests