各种文件用JS转Base64之后的data类型
1.txt data:text/plain;base64,
2.doc data:application/msword;base64,
3.docx data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,
4.xls data:application/vnd.ms-excel;base64,
5.xlsx data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,
6.pdf data:application/pdf;base64,
7.pptx data:application/vnd.openxmlformats-officedocument.presentationml.presentation;base64,
8.ppt data:application/vnd.ms-powerpoint;base64,
图片
1.png data:image/png;base64,
2.jpg data:image/jpeg;base64,
3.gif data:image/gif;base64,
4.svg data:image/svg+xml;base64,
5.ico data:image/x-icon;base64,
6.bmp data:image/bmp;base64,
...............
待续