core
core copied to clipboard
[BUG] webview 触发 tryReviveWebviewComponent 报错
描述你的问题(Describe the bug)
复现路径(To Reproduce)
- 打开任意一个md文件
- 预览md 使其webview打开
- 关闭其他页面,只保留一个 md的webview
- 刷新页面会触发 tryReviveWebviewComponent 逻辑报错 并无webview展示
预期表现(Expected behavior)
环境信息(Environment)
- OS: [e.g. macOS 11.2 Apple M1/Windows10/Windows11]
- Browser: [e.g. chrome, safari, electron]
- OpenSumi Version: [e.g. 2.13.0]