fix: 提示教材没有时选择教材;
This commit is contained in:
parent
3357cf8a78
commit
6a33ea8023
|
@ -270,6 +270,11 @@ const updateClassReserv = (formData) => {
|
|||
}
|
||||
const addClassReserv = (formData) => {
|
||||
let ids = formData.resource.join(',')
|
||||
// 判断是否添加教材
|
||||
if(!props.bookId){
|
||||
ElMessage.warning('请选择教材')
|
||||
return
|
||||
}
|
||||
let param = {
|
||||
className: formData.name,
|
||||
classType: formData.type,
|
||||
|
|
Loading…
Reference in New Issue