From b37a77f23f995758178b6af38b89a860107d218d Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期四, 25 三月 2021 16:45:29 +0800 Subject: [PATCH] 解决循环依赖导致的打包失败 --- web_src/src/router/index.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js index b8f8705..93ef64d 100644 --- a/web_src/src/router/index.js +++ b/web_src/src/router/index.js @@ -4,7 +4,9 @@ import control from '../components/control.vue' import videoList from '../components/videoList.vue' import channelList from '../components/channelList.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) { @@ -35,5 +37,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