panlinlin
2021-03-25 9a4b0de1af957d3ab9b53c06599fc62f42c14152
web_src/src/router/index.js
@@ -2,8 +2,9 @@
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 devicePosition from  '../components/devicePosition.vue'
import login from '../components/Login.vue'
import parentPlatformList from '../components/ParentPlatformList.vue'
@@ -23,8 +24,8 @@
      component: control,
    },
    {
      path: '/videoList',
      component: videoList,
      path: '/deviceList',
      component: deviceList,
    },
    {
      path: '/login',
@@ -35,11 +36,16 @@
      path: '/channelList/:deviceId/:parentChannelId/:count/:page',
      name: 'channelList',
      component: channelList,
    },,
    },
    {
      path: '/parentPlatformList/:platformId/:count/:page',
      path: '/parentPlatformList/:count/:page',
      name: 'parentPlatformList',
      component: parentPlatformList,
    },
    {
      path: '/devicePosition/:deviceId/:parentChannelId/:count/:page',
      name: 'devicePosition',
      component: devicePosition,
    },
  ]
})