From ba8633e99a27b90c55b47e8f7d6225f1f0efc6bb Mon Sep 17 00:00:00 2001 From: 648540858 <456panlinlin> Date: 星期五, 08 四月 2022 18:09:23 +0800 Subject: [PATCH] 优化地图-添加地图页面以及设备树 --- web_src/src/router/index.js | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js index 05bb1ae..3869fa3 100644 --- a/web_src/src/router/index.js +++ b/web_src/src/router/index.js @@ -16,7 +16,7 @@ import media from '../components/setting/Media.vue' import live from '../components/live.vue' -import wasmPlayer from '../components/dialog/jessibuca.vue' +import wasmPlayer from '../components/common/jessibuca.vue' import rtcPlayer from '../components/dialog/rtcPlayer.vue' const originalPush = VueRouter.prototype.push @@ -66,7 +66,17 @@ component: parentPlatformList, }, { - path: '/devicePosition/:deviceId/:parentChannelId/:count/:page', + path: '/devicePosition', + name: 'devicePosition', + component: devicePosition, + }, + { + path: '/devicePosition/:deviceId', + name: 'devicePosition', + component: devicePosition, + }, + { + path: '/devicePosition/:deviceId/:parentChannelId', name: 'devicePosition', component: devicePosition, }, -- Gitblit v1.8.0