add menu item
This commit is contained in:
parent
eeb338a352
commit
de76666bc4
@ -5,6 +5,9 @@
|
|||||||
<sui-menu-item :active="activeItem === '' || activeItem === 'channel'">
|
<sui-menu-item :active="activeItem === '' || activeItem === 'channel'">
|
||||||
<router-link :to="{name: 'ChannelList'}">Channels</router-link>
|
<router-link :to="{name: 'ChannelList'}">Channels</router-link>
|
||||||
</sui-menu-item>
|
</sui-menu-item>
|
||||||
|
<sui-menu-item :active="activeItem !== '' && activeItem === 'linelog'" v-show="userInfo.type === 'system'">
|
||||||
|
<router-link :to="{name: 'LineLog'}">Line Log</router-link>
|
||||||
|
</sui-menu-item>
|
||||||
</sui-menu-menu>
|
</sui-menu-menu>
|
||||||
<sui-menu-menu position='right'>
|
<sui-menu-menu position='right'>
|
||||||
<sui-menu-item>User: {{userInfo.name}}</sui-menu-item>
|
<sui-menu-item>User: {{userInfo.name}}</sui-menu-item>
|
||||||
|
@ -34,6 +34,15 @@ export default new Router({
|
|||||||
topMenu: 'channel'
|
topMenu: 'channel'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'linelog',
|
||||||
|
alias: '',
|
||||||
|
name: 'LineLog',
|
||||||
|
component: null,
|
||||||
|
meta: {
|
||||||
|
topMenu: 'linelog'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'channel/:chid',
|
path: 'channel/:chid',
|
||||||
alias: '',
|
alias: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user