From 7edce9d027ae6b4b17457baa9bbd900db9b32baf Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 03 三月 2025 15:01:04 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/main.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 24129ca..0736a8c 100644 --- a/src/main.js +++ b/src/main.js @@ -49,6 +49,8 @@ import DictData from "@/components/DictData"; import { checkPermi } from "@/utils/permission"; // 鏉冮檺鍒ゆ柇鍑芥暟 import { getToken } from "@/utils/auth"; +// 鏃堕棿杞崲 +import Moment from "moment"; // 鍏ㄥ眬鏂规硶鎸傝浇 Vue.prototype.getDicts = getDicts; @@ -80,6 +82,8 @@ }); }, }); +Vue.use(Moment); +Vue.prototype.$moment = Moment; // 鍏ㄥ眬缁勪欢鎸傝浇 Vue.component("DictTag", DictTag); -- Gitblit v1.9.3