From 8d973ff12c50867e46a7bc8b98427cd028938ce2 Mon Sep 17 00:00:00 2001 From: dragon <dragon_ydl@qq.com> Date: 星期一, 08 二月 2021 17:09:37 +0800 Subject: [PATCH] 修改 公共目录加载方式 取消idea目录更改 --- src/main.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index fa37006..45c8a84 100644 --- a/src/main.js +++ b/src/main.js @@ -8,11 +8,14 @@ import echartsDarkTheme from '@/styles/theme-dark/echarts/theme.json' import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' - +import 'leaflet/dist/leaflet.css' +import L from 'leaflet' +import 'leaflet.markercluster' Vue.config.productionTip = false Vue.use(ElementUI, { size: 'small' }) Vue.prototype.$cancels = [] +Vue.prototype.L = L // 娉ㄥ唽鎸囦护 // registerDirectives(Vue) -- Gitblit v1.8.0