From 2417a23dc04d04bd422d6f978958e10bf1633548 Mon Sep 17 00:00:00 2001 From: fei <791364011@qq.com> Date: 星期六, 15 十一月 2025 23:44:56 +0800 Subject: [PATCH] 修改代码 --- src/main.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index da01750..32aeb90 100644 --- a/src/main.js +++ b/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 -- Gitblit v1.9.1