From cce5010adc49e9a1b21ac6141067d68ef37d5e82 Mon Sep 17 00:00:00 2001 From: 张诺 <zhang_12370@163.com> Date: 星期一, 26 五月 2025 10:40:33 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/product-inventory-management into dev --- src/utils/index.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 9679e75..da79665 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -4,7 +4,7 @@ * 琛ㄦ牸鏃堕棿鏍煎紡鍖� */ export function formatDate(cellValue) { - if (cellValue == null || cellValue == "") return ""; + if (cellValue == null || cellValue == "") return "" var date = new Date(cellValue) var year = date.getFullYear() var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1 -- Gitblit v1.9.3