diff --git a/public/react/src/common/TextUtil.js b/public/react/src/common/TextUtil.js
index c711143d2..bd524c4a9 100644
--- a/public/react/src/common/TextUtil.js
+++ b/public/react/src/common/TextUtil.js
@@ -6,6 +6,9 @@ export function isImageExtension(fileName) {
export function markdownToHTML(oldContent, selector) {
window.$('#md_div').html('')
// markdown to html
+ try {
+
+
var markdwonParser = window.editormd.markdownToHTML("md_div", {
markdown: oldContent,
emoji: true,
@@ -15,6 +18,11 @@ export function markdownToHTML(oldContent, selector) {
flowChart: true, // 默认不解析
sequenceDiagram: true // 默认不解析
});
+
+ } catch(e) {
+ console.error(e)
+ }
+
const content = window.$('#md_div').html()
if (selector) {
window.$(selector).html(content)
diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js
index 99c190063..291095008 100644
--- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js
+++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js
@@ -1203,14 +1203,14 @@ class GraduationTaskssettinglist extends Component{
{taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.length!=0?
分班情况:
-
-
-
+ this.groupgroup(e,taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.length)} style={{width: '1000px', paddingTop: '4px'}}>
+
+
+
- this.groupgroup(e,taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.length)} style={{ paddingTop: '4px'}}>
{taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.map((item,key)=>{
return(
-
+
{item.group_group_name}
({item.count})
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
index 1807d956c..3865ee153 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
@@ -2490,7 +2490,7 @@ class Listofworksstudentone extends Component {
![]({getImageUrl("images/educoder/nodata.png")}/)
-
没有数据可以显示.!
+
没有数据可以显示!
@@ -2702,7 +2702,7 @@ class Listofworksstudentone extends Component {
![]({getImageUrl("images/educoder/nodata.png")}/)
-
没有数据可以显示,,!
+
没有数据可以显示!
@@ -2892,7 +2892,7 @@ class Listofworksstudentone extends Component {
![]({getImageUrl("images/educoder/nodata.png")}/)
-
没有数据可以显示..!
+
没有数据可以显示!
diff --git a/public/react/src/modules/login/LoginDialog.js b/public/react/src/modules/login/LoginDialog.js
index 3a401c7de..d587dc337 100644
--- a/public/react/src/modules/login/LoginDialog.js
+++ b/public/react/src/modules/login/LoginDialog.js
@@ -317,15 +317,18 @@ class LoginDialog extends Component {
});
}
handleDialogClose = () => {
- if(this.props.match===undefined){
- window.location.href="/";
- }else if(this.props.match.path==="/"){
- this.setState({
- isRender: false
- })
- }else{
- window.location.href="/";
- }
+ // if(this.props.match===undefined){
+ // window.location.href="/";
+ // }else if(this.props.match.path==="/"){
+ // this.setState({
+ // isRender: false
+ // })
+ // }else{
+ // window.location.href="/";
+ // }
+ this.setState({
+ isRender: false
+ })
}
loginEDU=()=>{
diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js
index b01dba4e0..5f7f485f8 100644
--- a/public/react/src/modules/tpm/NewHeader.js
+++ b/public/react/src/modules/tpm/NewHeader.js
@@ -534,10 +534,10 @@ submittojoinclass=(value)=>{