@@ -322,7 +322,7 @@ class LessonService extends CrudService {
let lydata = await this.getLyTeacherMsg(classInfo);
// 整理信息
data = { ...data, ...defaults, termid, classid, planyearid, planid };
- const dirIsBefore = moment().isSameOrBefore(classInfo.startdate);
+ const dirIsBefore = moment().isBefore(classInfo.startdate); // isSameOrBefore
console.log(`${classInfo.headteacher}-${dirIsBefore}`);
if (dirIsBefore) {
noticeList.push(data);