Commit 2e908029 by zhangleyuan

feat:处理创建线上课报错的问题

parent fae21114
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-08-05 10:07:47 * @Date: 2020-08-05 10:07:47
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @LastEditTime: 2021-07-13 14:12:20 * @LastEditTime: 2021-07-14 09:59:00
* @Description: 线上课新增/编辑页 * @Description: 线上课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有 * @Copyright: 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -326,7 +326,7 @@ class AddVideoCourse extends React.Component { ...@@ -326,7 +326,7 @@ class AddVideoCourse extends React.Component {
mediaType: "VIDEO", mediaType: "VIDEO",
mediaName: folderName.replace('.mp4',''), mediaName: folderName.replace('.mp4',''),
videoDuration: videoDom.duration, videoDuration: videoDom.duration,
id: resourceId, resourceId,
mediaUrl: ossUrl, mediaUrl: ossUrl,
sort: _courseChapterList.length sort: _courseChapterList.length
}) })
...@@ -344,7 +344,7 @@ class AddVideoCourse extends React.Component { ...@@ -344,7 +344,7 @@ class AddVideoCourse extends React.Component {
contentType: 'SCHEDULE', contentType: 'SCHEDULE',
mediaType: suffix, mediaType: suffix,
mediaName: folderName, mediaName: folderName,
id: resourceId, resourceId,
mediaUrl: ossUrl, mediaUrl: ossUrl,
sort: _courseChapterList.length sort: _courseChapterList.length
}) })
......
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