修改SendTrain
This commit is contained in:
parent
c3be58098d
commit
f8502cba14
|
@ -75,7 +75,8 @@ function SendTrain(){
|
|||
TrainJudge,
|
||||
HourValue,
|
||||
MinValue,
|
||||
StopTime,
|
||||
startDate,
|
||||
endDate,
|
||||
selectedItems,
|
||||
Train,
|
||||
teacher_ID
|
||||
|
@ -90,7 +91,7 @@ function SendTrain(){
|
|||
|
||||
|
||||
const SendTrainBtn=()=>{
|
||||
if(selectedItems.length>0 && (HourValue || MinValue)&&StopTime){
|
||||
if(selectedItems.length>0 && (HourValue || MinValue)){
|
||||
if(Train.length>0){
|
||||
SendTrainTest()
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue