guanchunjie 3 years ago
parent
commit
2fbe1d32bd
1 changed files with 0 additions and 23 deletions
  1. 0 23
      src/components/Header.vue

+ 0 - 23
src/components/Header.vue

@@ -320,11 +320,6 @@ export default {
             img: "project4",
             img: "project4",
           },
           },
           {
           {
-            id: 4,
-            name: "考试中心",
-            img: "project5",
-          },
-          {
             id: 6,
             id: 6,
             name: "个人中心",
             name: "个人中心",
             img: "project7",
             img: "project7",
@@ -334,24 +329,6 @@ export default {
       } else {
       } else {
         if (list.includes(2000001)) {
         if (list.includes(2000001)) {
           projectList = JSON.parse(JSON.stringify(this.teacherProList));
           projectList = JSON.parse(JSON.stringify(this.teacherProList));
-          for (let i = 0; i < list.length; i++) {
-            let code = list[i];
-            if (code == 2000003) {
-              projectList.push({
-                id: 1,
-                name: "教材管理系统",
-                img: "project1-1",
-                selectImg: "project1-1-1",
-              });
-            }
-            if (code == 2000005) {
-              projectList.push({
-                id: 4,
-                name: "考试中心",
-                img: "project5",
-              });
-            }
-          }
         } else {
         } else {
           for (let i = 0; i < list.length; i++) {
           for (let i = 0; i < list.length; i++) {
             let code = list[i];
             let code = list[i];