|
|
|
@ -107,7 +107,7 @@ class PathNew extends Component{
|
|
|
|
|
window.location.href="#part_Des";
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (des.length > 5000) {
|
|
|
|
|
if (des.length > 8000) {
|
|
|
|
|
this.props.showSnackbar("实践课程的简介最大限制5000个字符");
|
|
|
|
|
window.location.href="#part_Des";
|
|
|
|
|
return;
|
|
|
|
@ -118,7 +118,7 @@ class PathNew extends Component{
|
|
|
|
|
window.location.href="#part_point";
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(point.length > 500){
|
|
|
|
|
if(point.length > 2000){
|
|
|
|
|
this.props.showSnackbar("实践课程的学习须知最大限制500个字符");
|
|
|
|
|
window.location.href="#part_point";
|
|
|
|
|
return;
|
|
|
|
|