From 3dcb6c5c36123873855148315b706f21beaec07f Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Mon, 12 Dec 2022 20:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=A2=E6=8E=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.js | 2 +- src/components/FileTypeImg.vue | 7 ++-- src/views/faceteach/FaceTeach.vue | 56 +++++++++++-------------------- 3 files changed, 26 insertions(+), 39 deletions(-) diff --git a/src/api/api.js b/src/api/api.js index d6854ca..7b93d7e 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -27,7 +27,7 @@ export const TASK_WORK_DETAIL = '/stu/task/work/detail' export const VOTE_DETAIL = '/queryVoteSubmitDetailById' export const TASK_VOTE_LIST = '/queryVoteSubmitDetailListByTaskId' -export const STU_OFFCOURSE_DETAIL = '/stu/offcourse/detail' +export const STU_OFFCOURSE_DETAIL = '/stu/offcourse/detail post' export const WORK_QUERYWORKDETAILBYID = '/work/queryWorkDetailById' export const WORK_HISTROY = '/workSubmit/queryWorkDetailListByStuId' export const EXAMINATION_QUERY = examinationId => `/examination/queryExaminationDetailById?examinationId=${examinationId} post` diff --git a/src/components/FileTypeImg.vue b/src/components/FileTypeImg.vue index 4c8ab68..15ad1c4 100644 --- a/src/components/FileTypeImg.vue +++ b/src/components/FileTypeImg.vue @@ -14,9 +14,12 @@ import zip from '@/assets/image/file/zip.png' import book from '@/assets/image/file/book.png' import {defineProps, ref} from "vue"; -const {modelValue = [],style} = defineProps({ +const {modelValue = [], style} = defineProps({ modelValue: String, - style: Object + style: { + type: Object, + default: {} + } }) const filePath = ref(modelValue) diff --git a/src/views/faceteach/FaceTeach.vue b/src/views/faceteach/FaceTeach.vue index 2f53536..d5e98fc 100644 --- a/src/views/faceteach/FaceTeach.vue +++ b/src/views/faceteach/FaceTeach.vue @@ -11,10 +11,10 @@
-
-