diff --git a/packages/plugin-qiankun/src/slave/slaveRuntimePlugin.ts.tpl b/packages/plugin-qiankun/src/slave/slaveRuntimePlugin.ts.tpl index c0aefd4d7..5b72e7709 100644 --- a/packages/plugin-qiankun/src/slave/slaveRuntimePlugin.ts.tpl +++ b/packages/plugin-qiankun/src/slave/slaveRuntimePlugin.ts.tpl @@ -19,6 +19,7 @@ export function modifyClientRenderOpts(memo: any) { if (clientRenderOpts) { const history = clientRenderOpts.getHistory(); delete clientRenderOpts.getHistory; + delete clientRenderOpts.rootElement; clientRenderOpts.history = history; }