fei
2025-12-08 835caa28c4a48af5e9382a8045bb59e3f7e2470b
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