案例管理优化

This commit is contained in:
xiezhijun
2021-03-09 18:25:13 +08:00
parent 4b58e1b6bc
commit addf0fc000
6 changed files with 58 additions and 9 deletions

View File

@ -132,7 +132,7 @@ export default {
downSigleFile(file.downUrl, file.fileName);
},
isImage(name){
var idx = name.indexOf('.');
var idx = name.lastIndexOf(".");
if (idx === -1) {
return false;
}