dusenyao 3 years ago
parent
commit
94ab66db24
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/layouts/components/LayoutHeader.vue

+ 1 - 2
src/layouts/components/LayoutHeader.vue

@@ -114,9 +114,7 @@ export default {
     },
     // 改变下拉框导航索引
     changeLoginNavIndex(key) {
-      console.log(key);
       if (!key) return;
-      console.log(this.LoginNavIndex);
       console.log(this.projectList);
       this.loginNav = key;
       this.LoginNavIndex = this.projectList.findIndex(item => item.key === key);
@@ -168,6 +166,7 @@ export default {
             this.projectList.forEach((item, index) => {
               if (item.key === this.loginNav) {
                 this.LoginNavIndex = index;
+                console.log(this.LoginNavIndex);
               }
             });
           }