diff --git a/src/main.js b/src/main.js index 3e00bc4..ff551da 100644 --- a/src/main.js +++ b/src/main.js @@ -23,10 +23,14 @@ * it will intercept your request, so you won't see the request in the network. * If you remove `../mock` it will automatically request easy-mock data. */ +import './../mock' // simulation data +require('./../mock') // 兼容IE11 import 'babel-polyfill' -// import '../mock' // simulation data +// 引入animate.css库 +import animate from 'animate.css' + import { hasPermission, showWellType, showDeviceType, showIpConfig, isOperation } from './utils/permission' Vue.prototype.hasPerm = hasPermission @@ -52,14 +56,6 @@ Vue.config.productionTip = false */ -// 引入百度地图 -/* import '../static/BMap/js/apiv1.3.min' -import '../static/BMap/js/map_load.js' -import '../static/BMap/js/bmap_offline_api_v3.0_min.js' -import '../static/BMap/js/map_city.js' -import '../static/BMap/js/map_plus.js' -window.BMap = BMap*/ - // 引入v-charts import VCharts from 'v-charts' Vue.use(VCharts)