Merge branch 'master' of ssh://gitea.bowongai.com:221/bowong/mxivideo
This commit is contained in:
commit
c298d3c16d
|
|
@ -16,6 +16,12 @@ import MediaLibraryPage from './pages/MediaLibraryPage'
|
|||
import KVTestPage from './pages/KVTestPage'
|
||||
function App() {
|
||||
return (
|
||||
<Routes>
|
||||
{/* 项目详情页 - 无侧边栏布局 */}
|
||||
<Route path="/projects/:projectId" element={<ProjectDetailPage />} />
|
||||
|
||||
{/* 其他页面 - 带侧边栏布局 */}
|
||||
<Route path="/*" element={
|
||||
<Layout>
|
||||
<Routes>
|
||||
<Route path="/" element={<HomePage />} />
|
||||
|
|
@ -25,7 +31,6 @@ function App() {
|
|||
<Route path="/templates/:templateId" element={<TemplateDetailPage />} />
|
||||
<Route path="/resource-categories" element={<ResourceCategoryPage />} />
|
||||
<Route path="/projects" element={<ProjectManagePage />} />
|
||||
<Route path="/projects/:projectId" element={<ProjectDetailPage />} />
|
||||
<Route path="/models" element={<ModelManagePage />} />
|
||||
<Route path="/audio" element={<AudioLibraryPage />} />
|
||||
<Route path="/media" element={<MediaLibraryPage />} />
|
||||
|
|
@ -33,6 +38,8 @@ function App() {
|
|||
<Route path="/settings" element={<SettingsPage />} />
|
||||
</Routes>
|
||||
</Layout>
|
||||
} />
|
||||
</Routes>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue