let formData = new FormData();
formData.append("files", files);//上传文件需要formData
formData.append("id", this.uploadId);
var data = await fetch(baseUrl + "/api/ExportFile/UploadCredentialsFile",
{
method: "post",
body: formData,
cache: "force-cache",
headers: {
'Access-Control-Allow-Origin':'*' }
}
);