- 已装运
- 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.