diff --git a/public/react/src/modules/courses/busyWork/CommonWorkPost.js b/public/react/src/modules/courses/busyWork/CommonWorkPost.js index c9c5c7b45..3f65faafa 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkPost.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkPost.js @@ -659,6 +659,8 @@ render(){ {getFieldDecorator('description', { rules: [{ diff --git a/public/react/src/modules/tpm/challengesnew/TPMMDEditor.js b/public/react/src/modules/tpm/challengesnew/TPMMDEditor.js index e70454056..0f00d1c25 100644 --- a/public/react/src/modules/tpm/challengesnew/TPMMDEditor.js +++ b/public/react/src/modules/tpm/challengesnew/TPMMDEditor.js @@ -41,11 +41,12 @@ function md_clear_data(k,mdu,id){ var id1 = "#e_tip_"+id; var id2 = "#e_tips_"+id; if(k == 'content'){ - $(id2).html(""); + $(id2).html(" "); }else{ - $(id1).html(""); + $(id1).html(" "); } } +window.md_clear_data = md_clear_data // editor 存在了jquery对象上,应用不需要自己写md_rec_data方法了 function md_rec_data(k, mdu, id) { if (window.sessionStorage.getItem(k + mdu) !== null) { @@ -80,8 +81,8 @@ function md_elocalStorage(editor,mdu,id){ var id1 = "#e_tip_"+id; var id2 = "#e_tips_"+id; - $(id1).html(" 数据已于 " + h + ':' + m + ':' + s +" 保存 "); - $(id2).html(""); + $(id2).html(" 数据已于 " + h + ':' + m + ':' + s +" 保存 "); + // $(id2).html(""); } },10000); @@ -302,8 +303,8 @@ export default class TPMMDEditor extends Component {
- {noStorage == true ? ' ' :

} - {noStorage == true ? ' ' :

} + {noStorage == true ? ' ' :

 

} + {/* {noStorage == true ? ' ' :

 

} */}
)