diff --git a/src/apis/exam.ts b/src/apis/exam.ts new file mode 100644 index 0000000..73410ba --- /dev/null +++ b/src/apis/exam.ts @@ -0,0 +1,9 @@ +import { cloudService } from './index' +import type { IExamRecord } from '@/types/exam.ts' + +export const addExamRecordApi = (data: IExamRecord): Promise => + cloudService({ + url: '/study-api/exam/record', + method: 'post', + data + }) diff --git a/src/components/Library/LibraryFileList.vue b/src/components/Library/LibraryFileList.vue index 8ddf28d..756a4fa 100644 --- a/src/components/Library/LibraryFileList.vue +++ b/src/components/Library/LibraryFileList.vue @@ -30,7 +30,6 @@