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
57558264
Commit
57558264
authored
Jul 12, 2021
by
wufan
Browse files
Options
Browse Files
Download
Plain Diff
fix:合并master并解决冲突
parents
c3e10397
281f0212
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
18 deletions
+8
-18
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
+1
-1
src/modules/course-manage/offline-course/AddOfflineCourse.jsx
+2
-2
src/modules/course-manage/video-course/AddVideoCourse.jsx
+3
-13
src/modules/root/Header.jsx
+2
-2
No files found.
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
View file @
57558264
...
@@ -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-0
9 11:49:47
* @LastEditTime: 2021-07-0
8 19:32:50
* @Description: 图文课新增/编辑页
* @Description: 图文课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
*/
...
...
src/modules/course-manage/offline-course/AddOfflineCourse.jsx
View file @
57558264
...
@@ -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-0
9 11:50:06
* @LastEditTime: 2021-07-0
6 14:47:23
* @Description: 线下课新增/编辑页
* @Description: 线下课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -1275,7 +1275,7 @@ class AddOfflineCourse extends React.Component {
...
@@ -1275,7 +1275,7 @@ class AddOfflineCourse extends React.Component {
}
}
}
}
onSelect=
{
this
.
handleSelectCover
}
onSelect=
{
this
.
handleSelectCover
}
/>
/>
)
)
}
}
{
visible
&&
{
visible
&&
<
ImgClipModal
visible=
{
visible
}
imgUrl=
{
imageFile
.
ossUrl
}
onConfirm=
{
this
.
getSignature
}
onClose=
{
()
=>
{
this
.
setState
({
visible
:
false
});}
}
/>
<
ImgClipModal
visible=
{
visible
}
imgUrl=
{
imageFile
.
ossUrl
}
onConfirm=
{
this
.
getSignature
}
onClose=
{
()
=>
{
this
.
setState
({
visible
:
false
});}
}
/>
...
...
src/modules/course-manage/video-course/AddVideoCourse.jsx
View file @
57558264
/*
/*
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-08-05 10:07:47
* @Date: 2020-08-05 10:07:47
* @LastEditors:
yuananting
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-07-
12 09:47:51
* @LastEditTime: 2021-07-
08 19:34:10
* @Description:
线上
课新增/编辑页
* @Description:
视频
课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -507,16 +507,6 @@ class AddVideoCourse extends React.Component {
...
@@ -507,16 +507,6 @@ class AddVideoCourse extends React.Component {
coverId
:
coverId
coverId
:
coverId
})
})
}
}
// base64转换成blob
convertBase64UrlToBlob
=
(
urlData
)
=>
{
const
bytes
=
window
.
atob
(
urlData
.
split
(
','
)[
1
])
const
ab
=
new
ArrayBuffer
(
bytes
.
length
)
const
ia
=
new
Uint8Array
(
ab
)
for
(
let
i
=
0
;
i
<
bytes
.
length
;
i
++
)
{
ia
[
i
]
=
bytes
.
charCodeAt
(
i
)
}
return
new
Blob
([
ab
],
{
type
:
'image/png'
})
}
handleRenameCourseChapter
=
(
chapterId
)
=>
{
handleRenameCourseChapter
=
(
chapterId
)
=>
{
const
{
mediaNameAlias
}
=
this
.
state
;
const
{
mediaNameAlias
}
=
this
.
state
;
...
...
src/modules/root/Header.jsx
View file @
57558264
/*
/*
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2019-09-10 18:26:03
* @Date: 2019-09-10 18:26:03
* @LastEditors:
Please set LastEditors
* @LastEditors:
yuananting
* @LastEditTime: 2021-07-0
9 11:42:46
* @LastEditTime: 2021-07-0
6 14:37:49
* @Description:
* @Description:
*/
*/
import
React
,
{
useRef
,
useContext
,
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useRef
,
useContext
,
useEffect
,
useState
}
from
'react'
;
...
...
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