智慧农业后台管理页面
Administrator
2022-06-01 00a2a8e080d0822529c8b09fc5029ac6519fda16
src/main.js
@@ -27,6 +27,8 @@
import tenantPackage from './views/system/tenantpackage';
import Map from './components/map/main';
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;
Vue.component('Map', Map);
// 注册全局crud驱动
@@ -50,6 +52,9 @@
Vue.component('avueUeditor', avueUeditor);
Vue.component('flowDesign', flowDesign);
Vue.component('tenantPackage', tenantPackage);
//加载全局组件选地图定位点,每个页面都要使用
import chousePoint from './components/mapOncePoint/chousePoint'
Vue.component("chousePoint", chousePoint);
// 加载相关url地址
Object.keys(urls).forEach(key => {
    Vue.prototype[key] = urls[key];
@@ -70,4 +75,4 @@
    store,
    i18n,
    render: h => h(App)
}).$mount('#app');
}).$mount('#app');