fei
2025-09-16 882c04207fdc667b0be8dc347e320d0414eedb94
src/main.js
@@ -35,7 +35,10 @@
import DictTag from '@/components/DictTag'
// 字典数据组件
import DictData from '@/components/DictData'
import * as echarts from 'echarts'
// 全局注册为$echarts
Vue.prototype.$echarts = echarts
// 全局方法挂载
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey