|
@@ -2,7 +2,7 @@
|
|
|
<!-- 顶部登录导航 -->
|
|
|
<div class="LoginNav">
|
|
|
<div class="logo">
|
|
|
- <span class="logo-img">
|
|
|
+ <span class="logo-img" @click="handleSelect">
|
|
|
<el-image :src="$store.state.app.config.logo_image_url" />
|
|
|
</span>
|
|
|
<ul class="logo-projectlist">
|
|
@@ -103,11 +103,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
// 切换导航
|
|
|
- handleSelect(key) {
|
|
|
- this.activeIndex = key;
|
|
|
- if (this.activeIndex === '1') {
|
|
|
- window.location.href = '/';
|
|
|
- }
|
|
|
+ handleSelect() {
|
|
|
+ window.location.href = '/';
|
|
|
},
|
|
|
// 改变下拉框导航索引
|
|
|
changeLoginNavIndex(key) {
|
|
@@ -193,6 +190,11 @@ export default {
|
|
|
|
|
|
&-img {
|
|
|
min-width: 242px;
|
|
|
+
|
|
|
+ .el-image {
|
|
|
+ height: 48px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
&-projectlist {
|