1. 程式人生 > >上傳xslx檔案設定accept的MIME 型別

上傳xslx檔案設定accept的MIME 型別

 

.dotx:application/vnd.openxmlformats-officedocument.wordprocessingml.template
.docx:application/vnd.openxmlformats-officedocument.wordprocessingml.document
.xlsx:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.pptx:application/vnd.openxmlformats-officedocument.presentationml.presentation

.doc:application/msword

.dot:application/msword

.xls:application/vnd.ms-excel

 

效果是這樣的: