|
|
@@ -20,8 +20,8 @@
|
|
|
暂无课程
|
|
|
</template>
|
|
|
<el-table-column type="index"/>
|
|
|
- <el-table-column prop="courseName" label="课程名称" width="300"/>
|
|
|
- <el-table-column prop="description" label="描述" width="600"/>
|
|
|
+ <el-table-column prop="courseName" label="课程名称" width="280"/>
|
|
|
+ <el-table-column prop="description" label="描述" width="420"/>
|
|
|
<el-table-column prop="endTime" label="截止时间" sortable/>
|
|
|
<el-table-column label="操作">
|
|
|
<template #default="scope">
|
|
|
@@ -250,10 +250,10 @@
|
|
|
ElNotification({title: '描述不得为空',type: 'error',})
|
|
|
return
|
|
|
}
|
|
|
- if(newCourse.enrollCode === '') {
|
|
|
- ElNotification({title: '选课码不得为空',type: 'error',})
|
|
|
- return
|
|
|
- }
|
|
|
+ // if(newCourse.enrollCode === '') {
|
|
|
+ // ElNotification({title: '选课码不得为空',type: 'error',})
|
|
|
+ // return
|
|
|
+ // }
|
|
|
if(newCourse.startTime === '') {
|
|
|
ElNotification({title: '开始时间不得为空',type: 'error',})
|
|
|
return
|