Commit 531a0a91 by xiongyuwen

no message

parent 7c674dfc
......@@ -245,7 +245,7 @@ namespace Bailun.Discuz.Application.WeiPan
{
FileListTreeDto fileListTreeDto = new FileListTreeDto();
fileListTreeDto.id = u.fileid;
fileListTreeDto.label = u.file_name;
fileListTreeDto.label =Path.GetFileNameWithoutExtension(u.file_name);
fileListTreeDto.file = u.file_type != 1 ? true : false;
fileListTreeDto.md5 = u.md5;
fileListTreeDto.icon = u.file_type == 1 ? "el-icon-folder-opened" : "el-icon-document";
......@@ -332,7 +332,7 @@ namespace Bailun.Discuz.Application.WeiPan
{
FileListTreeDto fileListTreeDto = new FileListTreeDto();
fileListTreeDto.id = i.fileid;
fileListTreeDto.label = i.file_name;
fileListTreeDto.label = Path.GetFileNameWithoutExtension(i.file_name);
fileListTreeDto.file = i.file_type != 1 ? true : false;
fileListTreeDto.md5 = i.md5;
fileListTreeDto.icon = i.file_type == 1 ? "el-icon-folder-opened" : "el-icon-document";
......
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