From 756be572e470c4a2e2e971350a545b3e8d9c0180 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 12 七月 2024 17:17:07 +0800
Subject: [PATCH] 2024.7.12
---
src/main.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index e491791..78f6786 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,12 +1,16 @@
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
+import 'element-plus/theme-chalk/src/dark/css-vars.scss'
import App from './App.vue'
import router from './router'
+import timeUtil from './utils/time-util'
const app = createApp(App)
+app.config.globalProperties.$fm = timeUtil
+
// elementUI Icon 娉ㄥ唽
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component)
--
Gitblit v1.9.3