mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 14:17:24 +08:00
点击logo 进入首页bug 修复
This commit is contained in:
parent
b45f6e5d2f
commit
e669ff2cc8
@ -3,7 +3,7 @@
|
||||
<!-- 顶部导航 -->
|
||||
<el-header height="60px" class="app-header">
|
||||
<div class="header-left">
|
||||
<div class="logo">{{systemInfo.systemSimpleTitle}}</div>
|
||||
<div class="logo" @click="_toIndex">{{systemInfo.systemSimpleTitle}}</div>
|
||||
<el-menu mode="horizontal" :default-active="activeMenu" class="header-menu" background-color="#1e2132"
|
||||
text-color="#fff" active-text-color="#409EFF">
|
||||
<el-menu-item :index="item.caId" v-for="(item, index) in catalogs" :key="index"
|
||||
@ -312,6 +312,9 @@ export default {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
_toIndex(){
|
||||
location.href = '/'
|
||||
}
|
||||
|
||||
}
|
||||
@ -345,6 +348,7 @@ export default {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: #409EFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.header-menu {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user