From a82b831b8b2b96dfa5791808f1207500e16697cf Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 04 一月 2023 10:39:40 +0800 Subject: [PATCH] 优化设备状态保持,自动记录心跳间隔,三次心跳失败则设备离线,不在使用设备有效期字段作为唯一判断标准,提高容错能力和稳定性。 --- web_src/src/router/index.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js index 7651a72..4844d64 100644 --- a/web_src/src/router/index.js +++ b/web_src/src/router/index.js @@ -2,7 +2,7 @@ import VueRouter from 'vue-router' import Layout from "../layout/index.vue" -import control from '../components/control.vue' +import console from '../components/console.vue' import deviceList from '../components/DeviceList.vue' import channelList from '../components/channelList.vue' import pushVideoList from '../components/PushVideoList.vue' @@ -37,11 +37,11 @@ path: '/', name: 'home', component: Layout, - redirect: '/control', + redirect: '/console', children: [ { - path: '/control', - component: control, + path: '/console', + component: console, }, { path: '/live', -- Gitblit v1.8.0