From 49fb6f156ab614d3421dc69ce8424db3ca5fc6d1 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 17 Feb 2022 19:04:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=AF=BC=E8=87=B4=E7=9A=84=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/App.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 2b598861..ea149e33 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -78,12 +78,17 @@ export const App: React.FC = React.memo(() => { - - {/* 这个host用于处理独立页面的modal */} - {pluginRootRouter.map((r) => ( - + {/* 这个host用于处理独立页面的modal */} + {/* NOTICE: Switch里不能出现动态路由 */} + {/* + {pluginRootRouter.map((r, i) => ( + ))} - + */}