From b405ad6c57b5748c77850519a30c9a0c80a52497 Mon Sep 17 00:00:00 2001 From: fei <791364011@qq.com> Date: 星期六, 15 十一月 2025 16:56:34 +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