diff --git a/插件库/Lskj.AutoCreatWord/CreateWordUtil.cs b/插件库/Lskj.AutoCreatWord/CreateWordUtil.cs index d470c24..a904d7b 100644 --- a/插件库/Lskj.AutoCreatWord/CreateWordUtil.cs +++ b/插件库/Lskj.AutoCreatWord/CreateWordUtil.cs @@ -76,7 +76,7 @@ namespace Lskj.AutoCreatWord { Section mainSection = new Section(document); firstSection = mainSection; - //mainSection.PageSetup.DifferentFirstPageHeaderFooter = false; + mainSection.PageSetup.DifferentFirstPageHeaderFooter = false; document.Sections.Add(mainSection); hasMainTemp = true; Document document2 = new Document(); @@ -221,7 +221,7 @@ namespace Lskj.AutoCreatWord } if (hasMainTemp) { - //firstSection.PageSetup.DifferentFirstPageHeaderFooter = true; + firstSection.PageSetup.DifferentFirstPageHeaderFooter = true; } } }