wujie icon indicating copy to clipboard operation
wujie copied to clipboard

Iconpark WebComponent 方式再子应用使用 Sharing constructed stylesheets in multiple documents is not allowed

Open 1021683053 opened this issue 2 years ago • 1 comments

描述bug Wujie 子应用中使用 iconpark 的 WebComponent 组件导致无法显示 报错提示:

Uncaught DOMException: Failed to set the 'adoptedStyleSheets' property on 'ShadowRoot': Sharing constructed stylesheets in multiple documents is not allowed

错误截图 image

子应用独立运行显示正常 image

最小复现仓库或者地址 Demo 复现地址: https://github.com/1021683053/wujie-issue-iconpark 运行

pnpm i 
pnpm dev

1021683053 avatar Oct 10 '22 07:10 1021683053