From b7178dc66f46557a5b92a5a3a5a74c555e9b4951 Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Tue, 16 Nov 2021 16:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=9A=E4=BA=86=E4=B8=80=E4=B8=AASheet1?= =?UTF-8?q?=E7=9A=84=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/api/v1/repo/repo_dashbord.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/api/v1/repo/repo_dashbord.go b/routers/api/v1/repo/repo_dashbord.go index 127587ddb..2ecb39b9f 100644 --- a/routers/api/v1/repo/repo_dashbord.go +++ b/routers/api/v1/repo/repo_dashbord.go @@ -205,6 +205,7 @@ func ServeAllProjectsPeriodStatisticsFile(ctx *context.Context) { } f.SetActiveSheet(index) + f.DeleteSheet("Sheet1") if err := f.SaveAs(fileName); err != nil { log.Error("Can not generate file.", err)