Commit 78cb63bf authored by campaign's avatar campaign

云端文件显示扩展名字

parent c40a7d64
......@@ -449,7 +449,7 @@ $( function () {
// 从路径中抽取文件名
function getFileName( path ) {
var filename = path.substr( path.lastIndexOf( '/' ) + 1 );
return filename.substr( 0, filename.lastIndexOf( '.' ) );
return filename//.substr( 0, filename.lastIndexOf( '.' ) );
}
// 点击文件菜单
......
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