From 803190f6789371daf42360db8167e6eb5679d03f Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 28 九月 2026 10:21:35 +0800
Subject: [PATCH] fix(time): 统一将日期时间格式修改为仅日期格式
---
src/views/collaborativeApproval/officeSupplies/index.vue | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/views/collaborativeApproval/officeSupplies/index.vue b/src/views/collaborativeApproval/officeSupplies/index.vue
index a2d1c6d..510a900 100644
--- a/src/views/collaborativeApproval/officeSupplies/index.vue
+++ b/src/views/collaborativeApproval/officeSupplies/index.vue
@@ -403,10 +403,7 @@
const year = date.getFullYear()
const month = String(date.getMonth() + 1).padStart(2, '0')
const day = String(date.getDate()).padStart(2, '0')
- const hours = String(date.getHours()).padStart(2, '0')
- const minutes = String(date.getMinutes()).padStart(2, '0')
- const sends = String(date.getSeconds()).padStart(2, '0')
- return `${year}-${month}-${day} ${hours}:${minutes}:${sends}`
+ return `${year}-${month}-${day}`
}
// 鎻愪氦瀹℃壒
--
Gitblit v1.9.3