修改SendTrain

This commit is contained in:
30404 2024-07-07 15:36:41 +08:00
parent c3be58098d
commit f8502cba14
1 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,8 @@ function SendTrain(){
TrainJudge, TrainJudge,
HourValue, HourValue,
MinValue, MinValue,
StopTime, startDate,
endDate,
selectedItems, selectedItems,
Train, Train,
teacher_ID teacher_ID
@ -90,7 +91,7 @@ function SendTrain(){
const SendTrainBtn=()=>{ const SendTrainBtn=()=>{
if(selectedItems.length>0 && (HourValue || MinValue)&&StopTime){ if(selectedItems.length>0 && (HourValue || MinValue)){
if(Train.length>0){ if(Train.length>0){
SendTrainTest() SendTrainTest()
}else{ }else{