去掉请选择预计返校时间

This commit is contained in:
2026-01-06 15:10:34 +08:00
parent 6c24970756
commit 08369aed72

View File

@@ -542,14 +542,14 @@ import {
}); });
return; return;
} }
if (isEmpty(sdata.scheduledReturnTime)) { // if (isEmpty(sdata.scheduledReturnTime)) {
uni.showToast({ // uni.showToast({
title: "请选择预计返校时间", // title: "请选择预计返校时间",
icon: "none", // icon: "none",
mask: true // mask: true
}); // });
return; // return;
} // }
const today = new Date(); const today = new Date();
today.setHours(0, 0, 0, 0); today.setHours(0, 0, 0, 0);
const willLeaveTime = new Date(sdata.willLeaveTime.replace(/-/g, '/')); const willLeaveTime = new Date(sdata.willLeaveTime.replace(/-/g, '/'));