Commit 0624cf6c authored by 李晓兵's avatar 李晓兵

'身份证上传'

parent 85d5585b
......@@ -388,7 +388,7 @@ export default {
'filePath': path,
}
if(file.fileName){
options.fileName = file.fileName + name.split('.')[1]
options.fileName = file.fileName + name.substr(name.lastIndexOf('.'))
}
else{
options.fileName = name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment