附件优化

This commit is contained in:
季圣华
2021-09-05 22:08:52 +08:00
parent adab6469e8
commit 6ae8b9a746
2 changed files with 5 additions and 2 deletions

View File

@@ -1104,7 +1104,8 @@
this.fileList = []
for(let i=0; i<fileArr.length; i++) {
let fileInfo = {}
fileInfo.name= fileArr[i].replace("bill/","")
let shortName = fileArr[i].replace("bill/","")
fileInfo.name= shortName.substring(shortName.indexOf('/')+1)
fileInfo.url= window._CONFIG['domianURL'] + '/systemConfig/static/' + fileArr[i]
this.fileList.push(fileInfo)
}