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
e1fa22c5
Commit
e1fa22c5
authored
Mar 18, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:初始化页面
parent
ddfcff86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
+1
-1
src/modules/course-manage/graphics-course/components/AddGraphicsIntro.jsx
+5
-5
No files found.
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
View file @
e1fa22c5
...
@@ -162,7 +162,7 @@ class AddGraphicsCourse extends React.Component {
...
@@ -162,7 +162,7 @@ class AddGraphicsCourse extends React.Component {
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
this
.
setState
({
[
key
]:
res
});
this
.
setState
({
[
key
]:
res
});
}
}
})
})
}
}
handleGoBack
=
()
=>
{
handleGoBack
=
()
=>
{
...
...
src/modules/course-manage/graphics-course/components/AddGraphicsIntro.jsx
View file @
e1fa22c5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-07-16 11:05:17
* @Date: 2020-07-16 11:05:17
* @Last Modified by: chenshu
* @Last Modified by: chenshu
* @Last Modified time: 2021-03-1
6 16:20:19
* @Last Modified time: 2021-03-1
8 15:31:34
* @Description: 添加直播-简介
* @Description: 添加直播-简介
*/
*/
...
@@ -145,14 +145,14 @@ class AddGraphicsIntro extends React.Component {
...
@@ -145,14 +145,14 @@ class AddGraphicsIntro extends React.Component {
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list__item"
>
<
div
className=
"intro-list__item"
>
{
(
!
id
||
courseMedia
)
&&
{
/* {(!id || courseMedia) && */
}
<
GraphicsEditor
<
GraphicsEditor
detail=
{
{
detail=
{
{
content
:
courseMedia
content
:
courseMedia
}
}
}
}
onChange=
{
(
val
)
=>
{
this
.
changeDetail
(
val
)
}
}
onChange=
{
(
val
)
=>
{
this
.
changeDetail
(
val
)
}
}
/>
/>
}
{
/* } */
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -162,7 +162,7 @@ class AddGraphicsIntro extends React.Component {
...
@@ -162,7 +162,7 @@ class AddGraphicsIntro extends React.Component {
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list__item"
>
<
div
className=
"intro-list__item"
>
{
(
!
id
||
introduce
)
&&
{
/* {(!id || introduce) && */
}
<
GraphicsEditor
<
GraphicsEditor
isIntro=
{
true
}
isIntro=
{
true
}
detail=
{
{
detail=
{
{
...
@@ -170,7 +170,7 @@ class AddGraphicsIntro extends React.Component {
...
@@ -170,7 +170,7 @@ class AddGraphicsIntro extends React.Component {
}
}
}
}
onChange=
{
(
val
)
=>
{
this
.
changeIntro
(
val
)
}
}
onChange=
{
(
val
)
=>
{
this
.
changeIntro
(
val
)
}
}
/>
/>
}
{
/* } */
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
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