【fix-bug】1、文件下载权限的问题 2、文件提示语的处理
This commit is contained in:
@@ -47,7 +47,7 @@ export function previewFile(fileId,fileName) {
|
||||
// 获取 . 的索引
|
||||
let index = fileName.lastIndexOf('.')
|
||||
// 截取文件类型
|
||||
return fileName.slice(index+1)
|
||||
return fileName.slice(index+1).toLowerCase()
|
||||
}
|
||||
|
||||
// 通过文件id获取文件的相关信息
|
||||
|
||||
Reference in New Issue
Block a user