fix: 修复顶部导航和侧边栏菜单连点bug,封装公共侧边栏菜单组件并统一ui样式与交互
This commit is contained in:
+6
-5
@@ -515,7 +515,9 @@ function App() {
|
||||
element={
|
||||
CLOUD_BRAIN_UI_ENABLED ? (
|
||||
<PrivateRoute>
|
||||
<Suspense fallback={<Loading />} key={location.pathname}>
|
||||
<Suspense
|
||||
fallback={<CenterRouteLoading variant='experience' />}
|
||||
>
|
||||
<ExperienceCenter />
|
||||
</Suspense>
|
||||
</PrivateRoute>
|
||||
@@ -530,14 +532,13 @@ function App() {
|
||||
moduleAuthConfig.experienceCenter ? (
|
||||
<PrivateRoute>
|
||||
<Suspense
|
||||
fallback={<Loading></Loading>}
|
||||
key={location.pathname}
|
||||
fallback={<CenterRouteLoading variant='experience' />}
|
||||
>
|
||||
<ExperienceCenter />
|
||||
</Suspense>
|
||||
</PrivateRoute>
|
||||
) : (
|
||||
<Suspense fallback={<Loading></Loading>} key={location.pathname}>
|
||||
<Suspense fallback={<CenterRouteLoading variant='experience' />}>
|
||||
<ExperienceCenter />
|
||||
</Suspense>
|
||||
)
|
||||
@@ -960,7 +961,7 @@ function App() {
|
||||
element={
|
||||
<PrivateRoute>
|
||||
{isOrgCenterAvailable ? (
|
||||
<Suspense fallback={<CenterRouteLoading />}>
|
||||
<Suspense fallback={<CenterRouteLoading variant='org' />}>
|
||||
<Organization />
|
||||
</Suspense>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user