修复禅道bug: 4422 word解析-》名称解析有问题,断行时没获取全:5,6 新版文档

This commit is contained in:
anhc 2022-06-29 11:06:46 +08:00
parent cf15086ced
commit 9198759d57
2 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ public class WordUtil {
}
//获取文件名称
if (StringUtils.isEmpty(this.fileName) && this.isTitle(paragraph)){
this.fileName = text.trim();
if (this.isTitle(paragraph)){
this.fileName += text.trim();
}
if (this.isOldVersion){