From 84dc8e33996e757921791d432952b281c33f7ee6 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 19 Aug 2025 15:04:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E6=94=AF=E5=8D=A1=E7=89=87=E5=B7=A6?= =?UTF-8?q?=E4=B8=8A=E8=A7=92=E6=98=BE=E7=A4=BA=E5=B9=B4=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cashFlow/cashFlow.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/cashFlow/cashFlow.vue b/pages/cashFlow/cashFlow.vue index 2d18651..ae73d8a 100644 --- a/pages/cashFlow/cashFlow.vue +++ b/pages/cashFlow/cashFlow.vue @@ -271,9 +271,10 @@ export default { // 格式化日期显示 formatDateForDisplay(dateString) { const date = new Date(dateString) + const year = date.getFullYear() const month = date.getMonth() + 1 const day = date.getDate() - return `${month}月${day}日` + return `${year}年${month}月${day}日` }, // 更新总金额显示