panlinlin
2021-03-26 edb033ccd7df53e2444f38c9657946ce15856153
web_src/src/router/index.js
@@ -2,8 +2,10 @@
import VueRouter from 'vue-router'
import control from '../components/control.vue'
import videoList from '../components/videoList.vue'
import deviceList from '../components/DeviceList.vue'
import channelList from '../components/channelList.vue'
import pushVideoList from '../components/PushVideoList.vue'
import devicePosition from  '../components/devicePosition.vue'
import login from '../components/Login.vue'
import parentPlatformList from '../components/ParentPlatformList.vue'
@@ -23,8 +25,12 @@
      component: control,
    },
    {
      path: '/videoList',
      component: videoList,
      path: '/deviceList',
      component: deviceList,
    },
    {
      path: '/pushVideoList',
      component: pushVideoList,
    },
    {
      path: '/login',
@@ -35,11 +41,16 @@
      path: '/channelList/:deviceId/:parentChannelId/:count/:page',
      name: 'channelList',
      component: channelList,
    },,
    },
    {
      path: '/parentPlatformList/:count/:page',
      name: 'parentPlatformList',
      component: parentPlatformList,
    },
    {
      path: '/devicePosition/:deviceId/:parentChannelId/:count/:page',
      name: 'devicePosition',
      component: devicePosition,
    },
  ]
})