liusuyi
2025-09-06 bb508127e9454e8b39ac7d431765b6de0ac74c35
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)