Merge pull request 'fix: 提示教材没有时选择教材;' (#200) from yangws into main

Reviewed-on: #200
This commit is contained in:
yangws 2024-09-12 09:48:40 +08:00
commit 5778a8955d
1 changed files with 5 additions and 0 deletions

View File

@ -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,