From fce586d01da2efa914ec16755d28f125d0b389ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Thu, 5 Dec 2024 15:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E8=B6=85=E8=BF=8726=E5=88=97?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/newToExcel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/newToExcel.js b/src/utils/newToExcel.js index 1c409cf..c3c8028 100644 --- a/src/utils/newToExcel.js +++ b/src/utils/newToExcel.js @@ -173,7 +173,7 @@ export default function createWorkBook(header, title, data, foot, filename, shee return letter[number] } else { const n = number % 26 - const l = Math.floor(number % 26) + const l = Math.floor(number / 26) - 1 return letter[l] + letter[n] } }