[🚀] v0.12.21
This commit is contained in:
@ -44,10 +44,10 @@ func Export(sheetName, filepath string, columns []ColumnOption, rows []map[strin
|
||||
|
||||
maxColumnRowNameLen := 1 + len(strconv.Itoa(len(rows)))
|
||||
columnCount := len(columns)
|
||||
if columnCount > maxCharCount {
|
||||
maxColumnRowNameLen++
|
||||
} else if columnCount > maxCharCount*maxCharCount {
|
||||
if columnCount > maxCharCount*maxCharCount {
|
||||
maxColumnRowNameLen += 2
|
||||
} else if columnCount > maxCharCount {
|
||||
maxColumnRowNameLen++
|
||||
}
|
||||
|
||||
//标题
|
||||
|
Reference in New Issue
Block a user