媒体库增加文件上传类型
This commit is contained in:
parent
b1b60bc309
commit
515e7158f0
|
|
@ -134,7 +134,7 @@ export const isVideoMime = (type) => {
|
|||
export const isDocumentMime = (type) => {
|
||||
return type === 'text/plain'
|
||||
|| type === 'application/pdf'
|
||||
|| type === 'application/vnd.msword'
|
||||
|| type === 'application/msword'
|
||||
|| type === 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
|
||||
|| type === 'application/vnd.ms-excel'
|
||||
|| type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||
|
|
|
|||
Loading…
Reference in New Issue