panlinlin
2021-04-14 cb5849d8a14f55241c44bdf6724b18de7950564d
web_src/src/router/index.js
@@ -2,8 +2,11 @@
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 streamProxyList from '../components/StreamProxyList.vue'
import devicePosition from  '../components/devicePosition.vue'
import login from '../components/Login.vue'
import parentPlatformList from '../components/ParentPlatformList.vue'
@@ -23,8 +26,16 @@
      component: control,
    },
    {
      path: '/videoList',
      component: videoList,
      path: '/deviceList',
      component: deviceList,
    },
    {
      path: '/pushVideoList',
      component: pushVideoList,
    },
    {
      path: '/streamProxyList',
      component: streamProxyList,
    },
    {
      path: '/login',
@@ -41,5 +52,10 @@
      name: 'parentPlatformList',
      component: parentPlatformList,
    },
    {
      path: '/devicePosition/:deviceId/:parentChannelId/:count/:page',
      name: 'devicePosition',
      component: devicePosition,
    },
  ]
})