Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
535010ce
Commit
535010ce
authored
Jul 09, 2021
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:去掉无用代码
parent
cb312b50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
src/modules/course-manage/video-course/AddVideoCourse.jsx
+0
-9
No files found.
src/modules/course-manage/video-course/AddVideoCourse.jsx
View file @
535010ce
...
...
@@ -388,7 +388,6 @@ class AddVideoCourse extends React.Component {
})
return
}
const
{
instId
,
adminId
}
=
window
.
currentUserInstInfo
const
{
id
,
...
...
@@ -475,14 +474,6 @@ class AddVideoCourse extends React.Component {
resolve
(
false
);
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
)
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment