Commit 535010ce by wufan

feat:去掉无用代码

parent cb312b50
...@@ -388,7 +388,6 @@ class AddVideoCourse extends React.Component { ...@@ -388,7 +388,6 @@ class AddVideoCourse extends React.Component {
}) })
return return
} }
const { instId, adminId } = window.currentUserInstInfo
const { const {
id, id,
...@@ -475,14 +474,6 @@ class AddVideoCourse extends React.Component { ...@@ -475,14 +474,6 @@ class AddVideoCourse extends React.Component {
resolve(false); resolve(false);
return; return;
} }
// const textMedia = scheduleMedia.filter((item) => item.mediaType === 'TEXT')
// for (let i = 0, len = textMedia.length; i < len; i++) {
// if (textMedia[i].mediaContentLength && textMedia[i].mediaContentLength.length > 1000) {
// message.warning(`第${i + 1}个文字简介的字数超过了1000个字`)
// resolve(false)
// return false
// }
// }
resolve(true) resolve(true)
}) })
} }
......
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