KamoCRM

Eliminate removeChild DOM conflict in PDF thumbnail rendering

Fixkamo-internal
已装运
2026年4月12日 02:38 UTC
作者
kamo
提交
129d283

Replace container.innerHTML + appendChild pattern in ThumbnailCanvas with a React-managed <canvas> ref. The old approach cleared React-owned DOM nodes directly, causing React reconciliation to fail when it tried to remove the now-missing Typography loading node. Also add a pending-promise guard to loadPdfJs() in both components so concurrent calls share a single script injection instead of appending duplicate module scripts to document.head.

所有更改

就像你看到的运输?

所有东西都是靠自己运入你的工作空间的 从免费计划开始,一个月后再读这页.

永远开始自由查看定价