|
|
@ -422,6 +422,11 @@ export default { |
|
|
type = 'text/plain;charset=utf-8' |
|
|
type = 'text/plain;charset=utf-8' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// XML类型 |
|
|
|
|
|
if (fileType === 'xml') { |
|
|
|
|
|
type = 'application/xml;charset=utf-8' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Excel类型 |
|
|
// Excel类型 |
|
|
if (fileType === 'xlsx' || fileType === 'xls') { |
|
|
if (fileType === 'xlsx' || fileType === 'xls') { |
|
|
type = 'excel' |
|
|
type = 'excel' |
|
|
|