From 1bc5d77b95c15e5e23940402352da36a32c4547a Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 10 十月 2026 11:55:03 +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