zhaowenyu
2025-12-08 00a3c86c810d718a8cc4bf4de32ea3d394c58eac
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)