download & excel & blob
2024-10-14 15:41:24
download & excel & blob
Blob
https://developer.mozilla.org/en-US/docs/Web/API/Blob
FileReader
https://developer.mozilla.org/en-US/docs/Web/API/FileReader
download & excel
backend auto download
A response triggering the "Save As" dialog:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#Examples
Content-Type: text/html; charset=utf-8
Content-Disposition: attachment; filename="cool.html"
Content-Length: 22
excel & content-type
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
Excel & Content-Type
const File = {
name: "test.xlsx",
lastModified: 1551442905961,
lastModifiedDate: Fri Mar 01 2019 20:21:45 GMT+0800 (China Standard Time),
webkitRelativePath: "",
size: 8957,
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
};
最新文章
- Office 365 如何使用powershell查询邮件追踪
- awk(2)-模式(pattern)
- iOS面试题汇总
- cut命令
- 利用 PortableBasemapServer 发布地图服务
- Xamarin 技术全解析
- 异步加载JS的4种方式(详解)
- UIScrollView详解
- c与c++中的extern const的区别和联系
- iOS 工厂方法模式
- 《TCP/IP详解 卷一》读书笔记-----TCP超时重传
- xlistview的(java)
- 使用NUnit进行项目的单元测试
- HTML 4.01 符号实体
- C# - 重写虚方法
- 高性能 Socket 组件 HP-Socket v3.2.1-RC2 公布
- centos虚拟机初始化脚本
- c# 工具类(字符串和时间,文件)
- Genymotion下载慢或者下载失败的解决办法
- github学习(三)