🎨 Refactored XML generation logic and fixed content type override issues

This commit is contained in:
2025-04-16 17:29:40 +08:00
parent af9b26fa6c
commit 6b4be90900
8 changed files with 343 additions and 318 deletions

View File

@@ -259,7 +259,7 @@ func main() {
})
// 保存Excel文件
err := wb.Save("sales_report.xlsx")
err := wb.Save("./workbook/examples/simple/sales_report.xlsx")
if err != nil {
fmt.Println("保存Excel文件时出错:", err)
return