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 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js index e8ff105..93ef64d 100644 --- a/web_src/src/router/index.js +++ b/web_src/src/router/index.js @@ -6,6 +6,7 @@ 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) { @@ -37,6 +38,11 @@ component: channelList, }, { + path: '/parentPlatformList/:count/:page', + name: 'parentPlatformList', + component: parentPlatformList, + }, + { path: '/devicePosition/:deviceId/:parentChannelId/:count/:page', name: 'devicePosition', component: devicePosition, -- Gitblit v1.8.0