From a70e327a8efaf38d74911ea568419a087fbd235a Mon Sep 17 00:00:00 2001 From: lawrencehj <1934378145@qq.com> Date: 星期四, 15 四月 2021 11:42:05 +0800 Subject: [PATCH] 修改用户密码前先验证旧密码,增加安全性 --- web_src/src/router/index.js | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js index 73a5781..4735e62 100644 --- a/web_src/src/router/index.js +++ b/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', @@ -35,11 +46,16 @@ path: '/channelList/:deviceId/:parentChannelId/:count/:page', 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