guanchunjie 3 年之前
父节点
当前提交
b1091adc15
共有 3 个文件被更改,包括 3 次插入6 次删除
  1. 3 3
      src/components/Header.vue
  2. 0 2
      src/utils/request.js
  3. 0 1
      src/views/teacher-dev/Preview.vue

+ 3 - 3
src/components/Header.vue

@@ -462,7 +462,7 @@ export default {
       // color: #000000;
       color: #fff;
       margin-right: 29px;
-      line-height: 74px;
+      line-height: 64px;
     }
     display: flex;
     align-items: center;
@@ -603,8 +603,8 @@ export default {
     }
   }
   .el-menu--horizontal > .el-menu-item {
-    height: 60px;
-    line-height: 60px;
+    height: 64px;
+    line-height: 64px;
   }
   .el-dropdown {
     display: block;

+ 0 - 2
src/utils/request.js

@@ -47,11 +47,9 @@ service.interceptors.response.use(
   response => {
 
     const res = response.data;
-    console.log(res)
     let msg = null
     // if the custom code is not 20000, it is judged as an error.
     if (res.status == 0 || res.status == -2) {
-      console.log("执行错误");
       // 执行错误  JSON 数据格式错误
       msg = Message({
         message: res.msg || res.error || 'Error',

+ 0 - 1
src/views/teacher-dev/Preview.vue

@@ -330,7 +330,6 @@ export default {
   mounted() {
     this.materialId = this.$route.query.id;
     this.Ispreview = this.$route.query.type;
-    console.log("materialId" + this.materialIdå);
     if (this.materialId) {
       this.getdetail();
       if (!this.Ispreview) {