白白 1 год назад
Родитель
Сommit
24efc19e77

+ 0 - 2
src/views/CorrectPage/CorrectAssignmentPage.vue

@@ -198,7 +198,6 @@ import {useFormatDate} from "@/hooks/useFormatDate";
           Object.assign(assignmentInfo, {
             ...res.data.data
           })
-          console.log("assignment", assignmentInfo)
         })
         .catch((err:any) => {
           console.log("错误信息", err)
@@ -238,7 +237,6 @@ import {useFormatDate} from "@/hooks/useFormatDate";
     // fetchHomeworkListByUserId()
     fetchAssignmentInfo()
     fetchData()
-    console.log(route.query)
   })
 
   let status = ref('')

+ 0 - 2
src/views/CoursePage/CoursePage.vue

@@ -228,7 +228,6 @@
     apis.getAllCourse(query, queryInfo.pageNow, queryInfo.pageSize)
         .then((res: any) => {
           let data = res.data.data
-          console.log(data)
           Object.assign(pageInfo, {...data})
         })
         .catch((err: any) => {
@@ -241,7 +240,6 @@
   const handleSubmit = () => {
     newCourse.endTime = formatDate(newCourse.endTime)
     newCourse.startTime = formatDate(newCourse.startTime)
-    console.log(newCourse)
     apis.createCourse(newCourse)
         .then((res:any) => {
           if(res.data.code===200) {

+ 1 - 1
src/views/Home/component/Dictionaries/index.vue

@@ -54,7 +54,7 @@
       to: chinesePattern.test(content.value) ? 'zh-cn' : 'en'
     }, 1, store.user.id)
         .then((response:any) => {
-          console.log('requestDictionary', response)
+          // console.log('requestDictionary', response)
           res.value = response.data.data
           loading.value = false
         })

+ 0 - 1
src/views/Home/component/Silder/index.vue

@@ -119,7 +119,6 @@ import {useRoute} from "vue-router";
   const fetchData = () => {
     apis.getAssignmentById(assignmentId).then((res: any) => {
       data.assignment = res.data.data;
-      console.log(res.data.data, "获取作业信息")
     });
   };
 

+ 1 - 2
src/views/LoginPage/component/Login.vue

@@ -114,7 +114,7 @@
   const getCode = () => {
     start();
     props.onCode?.();
-    console.log('获取验证码');
+    // console.log('获取验证码');
   };
 
   let assignmentId = ref(1)
@@ -123,7 +123,6 @@
       officialNumber: data.officialNumber,
       password: data.password
     }).then((_res:any) => {
-      console.log(_res);
       const data = _res.data.data
       if (_res.data.code === 200) {
         store.setUser(data);