From c5a05c15df6c01602f259a49ff470fa996579b0b Mon Sep 17 00:00:00 2001
From: lawrencehj <1934378145@qq.com>
Date: 星期五, 26 三月 2021 19:58:46 +0800
Subject: [PATCH] 启动时清除先前注册上级平台的缓存
---
web_src/src/router/index.js | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js
index b8f8705..fc55dd5 100644
--- a/web_src/src/router/index.js
+++ b/web_src/src/router/index.js
@@ -2,9 +2,12 @@
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'
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
@@ -22,8 +25,12 @@
component: control,
},
{
- path: '/videoList',
- component: videoList,
+ path: '/deviceList',
+ component: deviceList,
+ },
+ {
+ path: '/pushVideoList',
+ component: pushVideoList,
},
{
path: '/login',
@@ -35,5 +42,15 @@
name: 'channelList',
component: channelList,
},
+ {
+ path: '/parentPlatformList/:count/:page',
+ name: 'parentPlatformList',
+ component: parentPlatformList,
+ },
+ {
+ path: '/devicePosition/:deviceId/:parentChannelId/:count/:page',
+ name: 'devicePosition',
+ component: devicePosition,
+ },
]
})
--
Gitblit v1.8.0