diff --git a/src/api/types.ts b/src/api/types.ts index be28d1a..5ac4b60 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -720,13 +720,14 @@ export interface Repo { id: string title: string remark: string - questionCount?: number - createBy: string - createTime: string - updateBy: string - updateTime: string - courseId?: string // 所属课程ID - courseName?: string // 所属课程名称 + question_count?: number // 匹配API返回的字段名 + create_by: string // 匹配API返回的字段名 + create_time: string // 匹配API返回的字段名 + update_by: string // 匹配API返回的字段名 + update_time: string // 匹配API返回的字段名 + createByName?: string // 创建人姓名 + courseId?: string // 所属课程ID + courseName?: string // 所属课程名称 } export interface Question { diff --git a/src/views/CourseExchanged.vue b/src/views/CourseExchanged.vue index 6b1b726..ae02f8a 100644 --- a/src/views/CourseExchanged.vue +++ b/src/views/CourseExchanged.vue @@ -152,9 +152,12 @@ - -