From a7e17aee9a1c8f2d395a11291d3e95b21813af0e Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期四, 06 五月 2021 10:54:41 +0800 Subject: [PATCH] 修复分享功能 --- web_src/src/router/index.js | 33 ++++++++++++++++++++++++++++++++- 1 files changed, 32 insertions(+), 1 deletions(-) diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js index bc40855..0f60d33 100644 --- a/web_src/src/router/index.js +++ b/web_src/src/router/index.js @@ -10,6 +10,12 @@ import login from '../components/Login.vue' import parentPlatformList from '../components/ParentPlatformList.vue' import test from '../components/test.vue' +import web from '../components/setting/Web.vue' +import sip from '../components/setting/Sip.vue' +import media from '../components/setting/Media.vue' + +import wasmPlayer from '../components/dialog/easyPlayer.vue' +import rtcPlayer from '../components/dialog/rtcPlayer.vue' const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { @@ -57,11 +63,36 @@ path: '/devicePosition/:deviceId/:parentChannelId/:count/:page', name: 'devicePosition', component: devicePosition, - },, + }, + { + path: '/setting/web', + name: 'web', + component: web, + }, + { + path: '/setting/sip', + name: 'sip', + component: sip, + }, + { + path: '/setting/media', + name: 'media', + component: media, + }, { path: '/test', name: 'test', component: test, }, + { + path: '/play/wasm/:url', + name: 'wasmPlayer', + component: wasmPlayer, + }, + { + path: '/play/rtc/:url', + name: 'rtcPlayer', + component: rtcPlayer, + }, ] }) -- Gitblit v1.8.0