增加动态表单自动排版配置界面的保存回显逻辑

This commit is contained in:
cuibaocheng 2021-08-14 20:14:56 +08:00
parent 7ebf1115cd
commit 4a8f109dec

View File

@ -275,8 +275,8 @@ public class PicturesTemplateBuildingServiceImpl extends DefaultBaseService impl
}else{
count = (count + 0.5);
}
if((count+1) >= rowCount || i == c.length-1 || '\n' == c[i]) {
// 如果字换行早了 , 把count - 1 , 如果字换行晚了 , 就count - 0.x
if((count) >= rowCount || i == c.length-1 || '\n' == c[i]) {
count = 0;
contentList.add(rowContent.toString().replace("\n", ""));
rowContent.setLength(0);