Commit 58518950 authored by yanzg's avatar yanzg

压缩视频

parent 5852d563
......@@ -119,7 +119,7 @@ public class PrinterHelper {
// 遍历模板,对每个模板格式化字符串进行处理
for (PrinterPagerItemData item : pager.getItems()) {
// 判断是否需要格式化
if (StringHelper.isEmpty(item.getFormat())) {
if (StringHelper.isEmpty(item.getFormat()) && !StringHelper.isEmpty(item.getName())) {
item.setFormat("{0}");
}
// 生成目标格式化字符串
......
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