修改
This commit is contained in:
parent
1eaf1f1d51
commit
1f6c7050d8
@ -26,7 +26,7 @@
|
||||
<i class="el-icon-caret-bottom" />
|
||||
</div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<router-link to="/">
|
||||
<!--router-link to="/">
|
||||
<el-dropdown-item>
|
||||
{{ $t('navbar.dashboard') }}
|
||||
</el-dropdown-item>
|
||||
@ -36,7 +36,8 @@
|
||||
{{ $t('navbar.github') }}
|
||||
</el-dropdown-item>
|
||||
</a>
|
||||
<el-dropdown-item divided>
|
||||
<el-dropdown-item divided-->
|
||||
<el-dropdown-item>
|
||||
<span style="display:block;" @click="logout">{{ $t('navbar.logOut') }}</span>
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
|
@ -74,6 +74,7 @@ export const constantRoutes = [
|
||||
path: '/',
|
||||
component: Layout,
|
||||
redirect: '/dashboard',
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'dashboard',
|
||||
@ -86,6 +87,7 @@ export const constantRoutes = [
|
||||
{
|
||||
path: '/icon',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
|
Loading…
x
Reference in New Issue
Block a user