Răsfoiți Sursa

用 StudioChannelSetting 代替 StudioChannelEdit

visuddhinanda 2 ani în urmă
părinte
comite
e2849ff9ec
1 a modificat fișierele cu 13 adăugiri și 2 ștergeri
  1. 13 2
      dashboard/src/Router.tsx

+ 13 - 2
dashboard/src/Router.tsx

@@ -84,7 +84,7 @@ import StudioRecentList from "./pages/studio/recent/list";
 
 
 import StudioChannel from "./pages/studio/channel";
 import StudioChannel from "./pages/studio/channel";
 import StudioChannelList from "./pages/studio/channel/list";
 import StudioChannelList from "./pages/studio/channel/list";
-import StudioChannelEdit from "./pages/studio/channel/edit";
+import StudioChannelSetting from "./pages/studio/channel/setting";
 import StudioChannelShow from "./pages/studio/channel/show";
 import StudioChannelShow from "./pages/studio/channel/show";
 
 
 import StudioGroup from "./pages/studio/group";
 import StudioGroup from "./pages/studio/group";
@@ -262,7 +262,18 @@ const Widget = () => {
 
 
           <Route path="channel" element={<StudioChannel />}>
           <Route path="channel" element={<StudioChannel />}>
             <Route path="list" element={<StudioChannelList />} />
             <Route path="list" element={<StudioChannelList />} />
-            <Route path=":channelid/edit" element={<StudioChannelEdit />} />
+            <Route
+              path=":channelId/setting"
+              element={<StudioChannelSetting />}
+            />
+            <Route
+              path=":channelId/setting/:type"
+              element={<StudioChannelSetting />}
+            />
+            <Route
+              path=":channelId/setting/:type/:id"
+              element={<StudioChannelSetting />}
+            />
             <Route path=":channelId" element={<StudioChannelShow />} />
             <Route path=":channelId" element={<StudioChannelShow />} />
           </Route>
           </Route>