web_src/src/router/index.js
@@ -9,6 +9,7 @@ import devicePosition from '../components/devicePosition.vue' import login from '../components/Login.vue' import parentPlatformList from '../components/ParentPlatformList.vue' import test from '../components/test.vue' const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { @@ -56,6 +57,11 @@ path: '/devicePosition/:deviceId/:parentChannelId/:count/:page', name: 'devicePosition', component: devicePosition, },, { path: '/test', name: 'test', component: test, }, ] })