dev_forum
杨树林 5 years ago
parent 3e6d9bb0a1
commit 3dad6096e5

@ -1369,7 +1369,7 @@ class Listofworks extends Component {
downloadElement.href = href
var now="";
try {
now = moment().year()+""+moment().month()+""+moment().date();
now = moment().year()+""+moment().month()+""+moment().date()+""+moment().hour()+""+moment().minute()+""+moment().second();
console.log("1422");
console.log(now);
@ -1426,7 +1426,7 @@ class Listofworks extends Component {
const string = Base64.decode(response.headers['content-disposition'].split('=')[1]);
var now="";
try {
now = moment().year()+""+moment().month()+""+moment().date();
now = moment().year()+""+moment().month()+""+moment().date()+""+moment().hour()+""+moment().minute()+""+moment().second();
console.log("1422");
console.log(now);

@ -1132,7 +1132,7 @@ class ShixunHomework extends Component{
{course_modules&&course_modules.main_category.map((item,key)=>{
return(
datas&&datas.category_id===null?"":<li key={key} id={item.main_category_id} onClick={() => this.moveTos(item.main_category_id)}>{item.main_category_name}</li>:""
datas&&datas.category_id===null?"":<li key={key} id={item.main_category_id} onClick={() => this.moveTos(item.main_category_id)}>{item.main_category_name}</li>
)
})}

Loading…
Cancel
Save