修改首页路由显示 #6
@ -7,11 +7,15 @@
|
|||||||
:collapseTransition="false"
|
:collapseTransition="false"
|
||||||
class="site-sidebar__menu"
|
class="site-sidebar__menu"
|
||||||
>
|
>
|
||||||
|
<el-menu-item index="home" @click="$router.push({ name: 'home' })">
|
||||||
|
<icon-svg name="shouye" class="site-sidebar__menu-icon"></icon-svg>
|
||||||
|
<span slot="title">首页</span>
|
||||||
|
</el-menu-item>
|
||||||
<el-submenu index="home">
|
<el-submenu index="home">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<icon-svg name="shouye" class="site-sidebar__menu-icon"></icon-svg>
|
<icon-svg name="config" class="site-sidebar__menu-icon"></icon-svg>
|
||||||
<span slot="title" @click="$router.push({ name: 'home' })"
|
<span slot="title"
|
||||||
>首页</span
|
>任务管理</span
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
<el-menu-item
|
<el-menu-item
|
||||||
|
Loading…
Reference in New Issue
Block a user