From bb508127e9454e8b39ac7d431765b6de0ac74c35 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: Sat, 06 Sep 2025 15:39:02 +0800
Subject: [PATCH] 优化
---
ard-ui/src/main.js | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ard-ui/src/main.js b/ard-ui/src/main.js
index 13c6cf2..baa78af 100644
--- a/ard-ui/src/main.js
+++ b/ard-ui/src/main.js
@@ -37,6 +37,10 @@
import VueMeta from 'vue-meta'
// 字典数据组件
import DictData from '@/components/DictData'
+// 性能监控工具
+import performanceMonitor from '@/utils/performance'
+// 缓存管理器
+import cacheManager from '@/utils/cache'
// 全局方法挂载
Vue.prototype.getDicts = getDicts
@@ -48,6 +52,8 @@
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
+Vue.prototype.performanceMonitor = performanceMonitor
+Vue.prototype.cacheManager = cacheManager
// 全局组件挂载
Vue.component('DictTag', DictTag)
--
Gitblit v1.9.3