Commit f8261289 by maolipeng

fix:创建企微直播时长单位

parent 7b36c7e9
......@@ -241,7 +241,7 @@ function CreateWorkWXCourse() {
if (type === 'add') {
if (endTime !== 0) {
classInfo.duration = String(endTime - classInfo.startTime)
classInfo.duration = String((endTime - classInfo.startTime)/1000)
}
const params = {
...classInfo,
......@@ -260,7 +260,7 @@ function CreateWorkWXCourse() {
});
} else {
if (endTime !== 0) {
classInfo.duration = String(endTime - classInfo.startTime)
classInfo.duration = String((endTime - classInfo.startTime)/1000)
}
const params = {
...classInfo,
......
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