点击logo 进入首页bug 修复

This commit is contained in:
wuxw 2025-07-21 09:57:33 +08:00
parent b45f6e5d2f
commit e669ff2cc8

View File

@ -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 {