| | |
| | | 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' |
| | | |
| | | const originalPush = VueRouter.prototype.push |
| | | VueRouter.prototype.push = function push(location) { |
| | |
| | | component: control, |
| | | }, |
| | | { |
| | | path: '/videoList', |
| | | component: videoList, |
| | | path: '/deviceList', |
| | | component: deviceList, |
| | | }, |
| | | { |
| | | path: '/pushVideoList', |
| | | component: pushVideoList, |
| | | }, |
| | | { |
| | | path: '/streamProxyList', |
| | | component: streamProxyList, |
| | | }, |
| | | { |
| | | path: '/login', |
| | |
| | | component: channelList, |
| | | }, |
| | | { |
| | | path: '/parentPlatformList/:count/:page', |
| | | name: 'parentPlatformList', |
| | | component: parentPlatformList, |
| | | }, |
| | | { |
| | | path: '/devicePosition/:deviceId/:parentChannelId/:count/:page', |
| | | name: 'devicePosition', |
| | | component: devicePosition, |