|
|
@ -142,7 +142,7 @@ class EcStudentList extends Component {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
const form = new FormData();
|
|
|
|
const form = new FormData();
|
|
|
|
form.append('file', file.file);
|
|
|
|
form.append('file', file.file);
|
|
|
|
form.append('attachment_id', file.file.lastModified);
|
|
|
|
form.append('attachment_id', file.file.uid);
|
|
|
|
axios.post(Url,form
|
|
|
|
axios.post(Url,form
|
|
|
|
,config).then((response) => {
|
|
|
|
,config).then((response) => {
|
|
|
|
if(response.data.status===0){
|
|
|
|
if(response.data.status===0){
|
|
|
|