dev_forum
杨树林 5 years ago
parent 80ca6bc9fe
commit f2b301408b

@ -1346,7 +1346,7 @@ class Listofworks extends Component {
// }
// let url = "/zip/shixun_report";
// let homeworkid = this.props.match.params.homeworkid;
axios.get((url),{headers:{'filename':'utf-8'},responseType: 'blob',}).then((response) => {
axios.get((url),{headers:{'filename':'utf-8'},responseType: 'blob'}).then((response) => {
console.log("1350");
console.log(response);
if(response.data.status&&response.data.status===-1){
@ -1410,7 +1410,7 @@ class Listofworks extends Component {
// search: this.state.searchtext,
// }
// },{responseType: 'blob'})
axios.get((url),{headers:{'filename':'utf-8'}}).then((response) => {
axios.get((url),{headers:{'filename':'utf-8'},responseType: 'blob'}).then((response) => {
console.log("1374");
console.log(response);
if(response.data.status&&response.data.status===-1){

Loading…
Cancel
Save