From 7c86b549b27bd54f6bd5de81c13f8242f91c87ff Mon Sep 17 00:00:00 2001 From: 张诺 <zhang_12370@163.com> Date: 星期一, 16 六月 2025 18:03:27 +0800 Subject: [PATCH] 优化文件上传组件及表格显示 --- src/main.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 2110fac..117280e 100644 --- a/src/main.js +++ b/src/main.js @@ -43,6 +43,8 @@ import ImagePreview from "@/components/ImagePreview" // 瀛楀吀鏍囩缁勪欢 import DictTag from '@/components/DictTag' +import {summarizeTable} from "@/utils/summarizeTable.js"; +import {getCurrentDate} from "@/utils/getCurrentDate.js"; const app = createApp(App) @@ -55,6 +57,8 @@ app.config.globalProperties.addDateRange = addDateRange app.config.globalProperties.selectDictLabel = selectDictLabel app.config.globalProperties.selectDictLabels = selectDictLabels +app.config.globalProperties.summarizeTable = summarizeTable +app.config.globalProperties.getCurrentDate = getCurrentDate // 鍏ㄥ眬缁勪欢鎸傝浇 app.component('DictTag', DictTag) -- Gitblit v1.9.3