From cb566a704bb79bdc6fd8bf2e764d360eaffa7a3b Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 15 May 2025 10:23:50 +0800
Subject: [PATCH] 升级commons.io到最新版本2.19.0
---
ruoyi-ui/src/utils/index.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/utils/index.js b/ruoyi-ui/src/utils/index.js
index 5799c05..cac28dc 100644
--- a/ruoyi-ui/src/utils/index.js
+++ b/ruoyi-ui/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