From 07edf71221ea8c71aee7d42fd65fed06b576de72 Mon Sep 17 00:00:00 2001 From: "mianyun.yt" Date: Fri, 19 Feb 2021 17:19:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20rootElement=20=E8=A6=86=E7=9B=96?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/plugin-qiankun/src/slave/slaveRuntimePlugin.ts.tpl | 1 + 1 file changed, 1 insertion(+) 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; }