Commit e1fa22c5 by chenshu

feat:初始化页面

parent ddfcff86
......@@ -162,7 +162,7 @@ class AddGraphicsCourse extends React.Component {
success: (res) => {
this.setState({ [key]: res });
}
})
})
}
handleGoBack = () => {
......
......@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-07-16 11:05:17
* @Last Modified by: chenshu
* @Last Modified time: 2021-03-16 16:20:19
* @Last Modified time: 2021-03-18 15:31:34
* @Description: 添加直播-简介
*/
......@@ -145,14 +145,14 @@ class AddGraphicsIntro extends React.Component {
<div className="content">
<div className="intro-list">
<div className="intro-list__item">
{(!id || courseMedia) &&
{/* {(!id || courseMedia) && */}
<GraphicsEditor
detail={{
content: courseMedia
}}
onChange={(val) => { this.changeDetail(val) }}
/>
}
{/* } */}
</div>
</div>
</div>
......@@ -162,7 +162,7 @@ class AddGraphicsIntro extends React.Component {
<div className="content">
<div className="intro-list">
<div className="intro-list__item">
{(!id || introduce) &&
{/* {(!id || introduce) && */}
<GraphicsEditor
isIntro={true}
detail={{
......@@ -170,7 +170,7 @@ class AddGraphicsIntro extends React.Component {
}}
onChange={(val) => { this.changeIntro(val) }}
/>
}
{/* } */}
</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