实训兼容edge

courseware
dinglink 5 years ago
parent 492525dbaf
commit 4cb90430e7

@ -11267,7 +11267,7 @@ Copyright © 2018 Basecamp, LLC
type: "GET", type: "GET",
dataType: "script", dataType: "script",
cache: true, cache: true,
async: false, async: true,
global: false, global: false,
// Only evaluate the response if it is successful (gh-4126) // Only evaluate the response if it is successful (gh-4126)

@ -89,7 +89,7 @@ setpostcookie();
clearAllCookie() clearAllCookie()
if(timestamp&&checkSubmitFlg===false){ if(timestamp&&checkSubmitFlg===false){
$.ajax({url:proxy,async:false,success:function(data){ $.ajax({url:proxy,async:true,success:function(data){
if(data.status===0){ if(data.status===0){
timestamp=data.message; timestamp=data.message;
setpostcookie(); setpostcookie();
@ -100,7 +100,7 @@ setpostcookie();
checkSubmitFlg=false; checkSubmitFlg=false;
}, 2000); }, 2000);
}else if(checkSubmitFlg===false){ }else if(checkSubmitFlg===false){
$.ajax({url:proxy,async:false,success:function(data){ $.ajax({url:proxy,async:true,success:function(data){
if(data.status===0){ if(data.status===0){
timestamp=data.message; timestamp=data.message;
setpostcookie(); setpostcookie();

@ -92,8 +92,21 @@ class CoursesHomeCard extends Component{
<Tooltip placement="bottom" title={item.school}> <Tooltip placement="bottom" title={item.school}>
<span className="color-grey-98">{item.school}</span> <span className="color-grey-98">{item.school}</span>
</Tooltip> </Tooltip>
</p> </p>
<div style={{height:30}}>
{item.teacher_users.length===0?<span className="color-grey-98" style={{marginTop:20}}>
</span>:
<span className="color-grey-98" style={{height:40}}>协作老师
{item.teacher_users&&item.teacher_users.map((iem,idx)=>{
<div style="margin-left: 5px;" v-if={idx<3}>{iem[0]} </div>
})
}
</span>
}
</div>
</div> </div>
<div className="edu-txt-center course-bottom"> <div className="edu-txt-center course-bottom">

Loading…
Cancel
Save