修改导出大小

This commit is contained in:
孙肖扬 2025-03-17 11:58:18 +08:00
parent 4e806e9119
commit f04a363535

View File

@ -16,8 +16,8 @@ import (
func DealExcelImg(filePath string) (err error) {
f, err := excelize.OpenFile(filePath)
filename := filepath.Base(filePath)
// var cellHeight, cellWidth float64 = 150, 40
var cellHeight, cellWidth float64 = 100, 20
var cellHeight, cellWidth float64 = 150, 40
//minColumn := int([]byte("A")[0])
// string(rune(i))
rows := f.GetRows("Sheet1")