我的页面,首页来款项目
This commit is contained in:
@@ -44,7 +44,7 @@ export function previewFile(fileId,fileName) {
|
||||
}
|
||||
|
||||
// 截取文件类型的方法
|
||||
function sliceFileTypeByFileName(fileName){
|
||||
export function sliceFileTypeByFileName(fileName){
|
||||
// 获取 . 的索引
|
||||
let index = fileName.lastIndexOf('.')
|
||||
// 截取文件类型
|
||||
|
||||
Reference in New Issue
Block a user