From ef742e715b8c0a983d661aa5b5f8980dade8c790 Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期四, 22 四月 2021 15:28:40 +0800
Subject: [PATCH] 优化宕机后点播中设备发送bye
---
web_src/src/router/index.js | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js
index 93ef64d..bc40855 100644
--- a/web_src/src/router/index.js
+++ b/web_src/src/router/index.js
@@ -2,11 +2,14 @@
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'
+import test from '../components/test.vue'
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
@@ -24,8 +27,16 @@
component: control,
},
{
- path: '/videoList',
- component: videoList,
+ path: '/deviceList',
+ component: deviceList,
+ },
+ {
+ path: '/pushVideoList',
+ component: pushVideoList,
+ },
+ {
+ path: '/streamProxyList',
+ component: streamProxyList,
},
{
path: '/login',
@@ -46,6 +57,11 @@
path: '/devicePosition/:deviceId/:parentChannelId/:count/:page',
name: 'devicePosition',
component: devicePosition,
+ },,
+ {
+ path: '/test',
+ name: 'test',
+ component: test,
},
]
})
--
Gitblit v1.8.0