Browse Source

优化,导出文件多了一个Sheet1的页面,去掉

pull/846/head
ychao_1983 3 years ago
parent
commit
b7178dc66f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/api/v1/repo/repo_dashbord.go

+ 1
- 0
routers/api/v1/repo/repo_dashbord.go View File

@@ -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)


Loading…
Cancel
Save