🏁 fix shadow dom compatible issue (#1530)
This commit is contained in:
parent
d9810da3ef
commit
a3d240ca47
|
|
@ -135,7 +135,7 @@ function getAppWrapperGetter(
|
||||||
`[qiankun] Wrapper element for ${appName} with instance ${appInstanceId} is not existed!`,
|
`[qiankun] Wrapper element for ${appName} with instance ${appInstanceId} is not existed!`,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (strictStyleIsolation) {
|
if (strictStyleIsolation && supportShadowDOM) {
|
||||||
return element!.shadowRoot!;
|
return element!.shadowRoot!;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user