📅  最后修改于: 2022-03-11 14:57:49.152000             🧑  作者: Mango
const file = uppy.getFile(fileID)
uppy.setFileState(fileID, {
xhrUpload: {
...file.xhrUpload,
endpoint: `https://endpoint/?filename=${encodeURIComponent(file.meta.name)}`
}
})