From 7fbe78d97d7837a2e91d11961dc84ceca8050b09 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 15 Dec 2023 18:04:11 +0900 Subject: [PATCH] no message --- src/main/webapp/resources/js/base/base-fims.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/resources/js/base/base-fims.js b/src/main/webapp/resources/js/base/base-fims.js index fe7754ee..966ea275 100644 --- a/src/main/webapp/resources/js/base/base-fims.js +++ b/src/main/webapp/resources/js/base/base-fims.js @@ -153,10 +153,13 @@ $.fn.getHeaderInfo = function() { this.each(function(){ var title = $(this).text(); - excelTitle.push(title); - var titleWidth = $(this).outerWidth(); - titleWidth = Math.ceil(titleWidth/10); - excelTitleWidth.push(titleWidth); + + if(title != ""){ + excelTitle.push(title); + var titleWidth = $(this).outerWidth(); + titleWidth = Math.ceil(titleWidth/10) + 2; + excelTitleWidth.push(titleWidth); + } }); return {