Commit e1fa22c5 by chenshu

feat:初始化页面

parent ddfcff86
...@@ -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 = () => {
......
...@@ -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-16 16:20:19 * @Last Modified time: 2021-03-18 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>
......
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