Closed wolfAndTime closed 1 month ago
Sandbox not found
data table的renderExpand,在有一个已展开的情况下,再执行其他的 renderExpand,会执行多次
应该是因为切换会导致所有行都重新渲染
This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem
描述错误
data table的renderExpand,在有一个已展开的情况下,再执行其他的renderExpand,会执行多次 用官方的例子在codesandbox试过了
复现步骤
在renderExpand的渲染函数里写个console.log("test"), 先展开一个,打印一个test,保持不关闭,在展开第二个的时候控制台连续打印两个test
最小复现链接
https://codesandbox.io/p/sandbox/boring-frog-zqv47z
系统信息
使用的包管理器
npm
验证