限制字符

This commit is contained in:
hc1913847458 2021-08-05 10:57:43 +08:00 committed by caishi
parent 75f50c6742
commit ababcbfdd6
2 changed files with 2 additions and 2 deletions

View File

@ -475,7 +475,7 @@ function CoderDepot(props){
<div>
<Divider />
<p className="font-16 color-grey-6">实践课程</p>
<a href={lesson_url} target="_blank" className="color-grey-6" style={{textDecoration:"underline"}}>{lesson_url}</a>
<a href={lesson_url} target="_blank" className="color-grey-6" style={{textDecoration:"underline",wordBreak:"break-all"}}>{lesson_url}</a>
</div>
}
{/* 发布 */}

View File

@ -53,7 +53,7 @@ function UpdateDescModal({form , visible , onCancel , onOk,desc,website,lesson_u
{getFieldDecorator("lesson_url",{
rules:[]
})(
<Input placeholder="实践课程链接" style={{wordbreak:"break-all"}}/>
<Input placeholder="实践课程链接"/>
)}
</Form.Item>
</Form>