摘要:
export function downloadFile(data, fileName){ const a = document.createElement('a') let href = window.URL.createObjectURL(new Blob(["\ufeff", data], { 阅读全文
摘要:
f = request.files.get("file") f.stream.read() 阅读全文
摘要:
response = make_response('文件二进制') response.headers["Content-Disposition"] = "attachment; filename=%s" % file_name response.headers["Content-type"] = " 阅读全文