From de76666bc4a2b19fedf652b95dcb770f2207d22d Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 12 Oct 2018 18:01:47 +0800 Subject: [PATCH] add menu item --- src/components/ControlPanel/topMenu.vue | 3 +++ src/router.js | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/src/components/ControlPanel/topMenu.vue b/src/components/ControlPanel/topMenu.vue index 888f0a1..5271fa0 100644 --- a/src/components/ControlPanel/topMenu.vue +++ b/src/components/ControlPanel/topMenu.vue @@ -5,6 +5,9 @@ Channels + + Line Log + User: {{userInfo.name}} diff --git a/src/router.js b/src/router.js index a0ffcc1..d77fa9a 100644 --- a/src/router.js +++ b/src/router.js @@ -34,6 +34,15 @@ export default new Router({ topMenu: 'channel' } }, + { + path: 'linelog', + alias: '', + name: 'LineLog', + component: null, + meta: { + topMenu: 'linelog' + } + }, { path: 'channel/:chid', alias: '',