web_src/src/router/index.js
@@ -5,6 +5,7 @@ import videoList from '../components/videoList.vue' import channelList from '../components/channelList.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 +36,10 @@ name: 'channelList', component: channelList, }, { path: '/parentPlatformList/:count/:page', name: 'parentPlatformList', component: parentPlatformList, }, ] })