commit
This commit is contained in:
@@ -479,7 +479,7 @@ layout("/mobile/platform.html"){
|
||||
}
|
||||
const paramArray = []
|
||||
let valid = false
|
||||
this.checked.forEach(item => {
|
||||
for (const item of this.checked) {
|
||||
if (item.leaveReason === '' || item.leaveReason === undefined) {
|
||||
vant.Toast('请填写请假原因');
|
||||
valid = true
|
||||
@@ -494,7 +494,7 @@ layout("/mobile/platform.html"){
|
||||
}
|
||||
)
|
||||
}
|
||||
})
|
||||
}
|
||||
if (paramArray.length === 0) {
|
||||
vant.Toast('请选择请假时间段');
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user