From 1390eec135de33236c025457d5b21008b67f33c8 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期日, 11 十月 2026 14:06:21 +0800
Subject: [PATCH] fix: 优化日期格式化显示逻辑

---
 src/main.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 0b3f714..5133bd4 100644
--- a/src/main.js
+++ b/src/main.js
@@ -29,6 +29,7 @@
 import { useDict } from "@/utils/dict";
 import {
   parseTime,
+  dateOnly,
   resetForm,
   addDateRange,
   handleTree,
@@ -68,6 +69,8 @@
 app.config.globalProperties.useDict = useDict;
 app.config.globalProperties.download = download;
 app.config.globalProperties.parseTime = parseTime;
+// 鍏ㄥ眬鏃ユ湡鏄剧ず锛堝彧鏄剧ず骞存湀鏃ワ級锛氭ā鏉块噷鐢� {{ $d(row.createTime) }} 鎴� :formatter="$d"
+app.config.globalProperties.$d = dateOnly;
 app.config.globalProperties.resetForm = resetForm;
 app.config.globalProperties.summarizeTable = summarizeTable;
 app.config.globalProperties.calculateTaxExclusiveTotalPrice =

--
Gitblit v1.9.3