Commit d6517604 by yuananting

fix:培训计划合并缺失字段

parent fd3041ba
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-07-05 10:47:19 * @Date: 2021-07-05 10:47:19
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-07-06 17:36:02 * @LastEditTime: 2021-07-08 10:51:30
* @Description: 描述一下咯 * @Description: 描述一下咯
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
...@@ -219,7 +219,11 @@ class GraphicsEditor extends React.Component { ...@@ -219,7 +219,11 @@ class GraphicsEditor extends React.Component {
<div className='editor-tips'> <div className='editor-tips'>
({textLength > maxLimit ? <span style={{ color: 'red' }}>{textLength}</span> : textLength}/{maxLimit || 1000}) ({textLength > maxLimit ? <span style={{ color: 'red' }}>{textLength}</span> : textLength}/{maxLimit || 1000})
</div> </div>
{textLength > maxLimit && <div className='editor-warning'>最多只能输入{maxLimit || 1000}</div>} {textLength > maxLimit && (
<div style={{ top: isIntro ? '245px' : '512px' }} className='editor-warning'>
最多只能输入{maxLimit || 1000}
</div>
)}
{showSelectVideoModal && ( {showSelectVideoModal && (
<SelectPrepareFileModal <SelectPrepareFileModal
operateType='select' operateType='select'
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
.editor-warning { .editor-warning {
position: absolute; position: absolute;
right: 0; right: 0;
top: 205px;
color: red; color: red;
} }
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
.intro-list__item { .intro-list__item {
display: flex; display: flex;
margin-bottom: 16px; margin-bottom: 32px;
position: relative; position: relative;
&.picture { &.picture {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: zhangleyuan * @Author: zhangleyuan
* @Date: 2021-02-20 16:13:39 * @Date: 2021-02-20 16:13:39
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-07-07 14:59:59 * @LastEditTime: 2021-07-08 10:52:05
* @Description: 描述一下 * @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -17,7 +17,7 @@ import PlanService from '@/domains/plan-domain/planService'; ...@@ -17,7 +17,7 @@ import PlanService from '@/domains/plan-domain/planService';
import User from '@/common/js/user'; import User from '@/common/js/user';
import _ from 'underscore'; import _ from 'underscore';
import './AddPlan.less'; import './AddPlan.less';
import bus from '@/core/bus'; import Bus from '@/core/bus';
const defaultCover = 'https://image.xiaomaiketang.com/xm/rEAetaTEh3.png'; const defaultCover = 'https://image.xiaomaiketang.com/xm/rEAetaTEh3.png';
const defaultBasicData = { const defaultBasicData = {
planName: '', planName: '',
...@@ -40,6 +40,7 @@ function AddPlan() { ...@@ -40,6 +40,7 @@ function AddPlan() {
const [taskList, setTaskList] = useState(defaultTaskList); const [taskList, setTaskList] = useState(defaultTaskList);
const [expiredCourseList, setExpiredCourseList] = useState([]); const [expiredCourseList, setExpiredCourseList] = useState([]);
const [hasGetDetail, setHasGetDetail] = useState(false); const [hasGetDetail, setHasGetDetail] = useState(false);
const [submitDisabled, setSubmitDisabled] = useState(false);
const [editorTextLength, setEditorTextLength] = useState(0); const [editorTextLength, setEditorTextLength] = useState(0);
useEffect(() => { useEffect(() => {
......
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