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