diff --git a/src/main/java/cn/teammodel/utils/PdfUtil.java b/src/main/java/cn/teammodel/utils/PdfUtil.java index 269f130..5f67ba3 100644 --- a/src/main/java/cn/teammodel/utils/PdfUtil.java +++ b/src/main/java/cn/teammodel/utils/PdfUtil.java @@ -37,6 +37,7 @@ public class PdfUtil { for (Map.Entry entry : data.entrySet()) { fields.setField(entry.getKey(), entry.getValue()); } + stamper.setFormFlattening(true); stamper.close(); os.close(); }