From 835caa28c4a48af5e9382a8045bb59e3f7e2470b Mon Sep 17 00:00:00 2001 From: fei <791364011@qq.com> Date: 星期一, 08 十二月 2025 10:03:12 +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