🏁 fix shadow dom compatible issue (#1530)

This commit is contained in:
xinhailishi 2021-06-23 11:36:23 +08:00 committed by GitHub
parent d9810da3ef
commit a3d240ca47

View File

@ -135,7 +135,7 @@ function getAppWrapperGetter(
`[qiankun] Wrapper element for ${appName} with instance ${appInstanceId} is not existed!`,
);
if (strictStyleIsolation) {
if (strictStyleIsolation && supportShadowDOM) {
return element!.shadowRoot!;
}