fix: 修复顶部导航和侧边栏菜单连点bug,封装公共侧边栏菜单组件并统一ui样式与交互

This commit is contained in:
zhanjunhao
2026-11-27 18:58:52 +08:00
parent 1e7780bdce
commit 6e41115d40
26 changed files with 875 additions and 805 deletions
+6 -5
View File
@@ -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>
) : (