Procházet zdrojové kódy

更新 cam 的路由

reghao před 2 roky
rodič
revize
b7aa85aeca
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      src/router/index.js
  2. 1 1
      src/views/post/CamList.vue

+ 1 - 1
src/router/index.js

@@ -332,7 +332,7 @@ const routes = [
     meta: { needAuth: true }
   },
   {
-    path: '/live/:camId',
+    path: '/my/cam/live/:camId',
     name: 'LivePage',
     component: LivePage,
     meta: { needAuth: true }

+ 1 - 1
src/views/post/CamList.vue

@@ -28,7 +28,7 @@
           width="150"
         >
           <template slot-scope="scope">
-            <router-link style="text-decoration-line: none" target="_blank" :to="`/live/${scope.row.camId}`">
+            <router-link style="text-decoration-line: none" target="_blank" :to="`/my/cam/live/${scope.row.camId}`">
               {{ scope.row.camName }}
             </router-link>
           </template>