Compare commits

..

2 Commits

1 changed files with 5 additions and 0 deletions

View File

@ -270,6 +270,11 @@ const updateClassReserv = (formData) => {
} }
const addClassReserv = (formData) => { const addClassReserv = (formData) => {
let ids = formData.resource.join(',') let ids = formData.resource.join(',')
//
if(!props.bookId){
ElMessage.warning('请选择教材')
return
}
let param = { let param = {
className: formData.name, className: formData.name,
classType: formData.type, classType: formData.type,