add close

main
lj-wsdj 2024-05-29 11:11:46 +08:00
parent d862973c8d
commit b64eb516b1
1 changed files with 1 additions and 0 deletions

View File

@ -189,5 +189,6 @@ func dealTag(tag string) map[string]string {
}
func (e *Exporter) Save() error {
defer e.xlsx.Close()
return e.xlsx.SaveAs(fmt.Sprintf("%s/%s", e.Path, e.File))
}