fei
2025-11-15 2417a23dc04d04bd422d6f978958e10bf1633548
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