Commit 21b2bcc0 by maolipeng

fix:编辑时时间判读有误

parent e131b7ae
......@@ -128,6 +128,7 @@ function CreateWorkWXCourse() {
endTime: startTime+Number(duration)*1000,
remindTime,
};
setEndTime(startTime+Number(duration)*1000)
// 晚于开课前30分钟
if (new Date().getTime() > startTime - 1800000) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment