修改表格统计样式
This commit is contained in:
parent
d7c0d03ea5
commit
776cd7d303
@ -109,6 +109,7 @@ func MetricsBundlePurchaseExport(ctx *gin.Context) {
|
||||
if err := f.SetCellStyle(sheet, startCell, endCell, borderStyle); err != nil {
|
||||
fmt.Println("设置边框样式失败:", err)
|
||||
}
|
||||
_ = f.SetColWidth(sheet, "A", "C", 30)
|
||||
}
|
||||
|
||||
if err := exportStructToExcel(resp.Data, []string{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user