From 03df59a72de4354fcc731675c53dd2805c2ec8b1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 21 Jul 2022 17:26:02 +0800
Subject: [PATCH] 数据新增调整

---
 src/main.js |   36 +++++++++++++++++++++---------------
 1 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/src/main.js b/src/main.js
index 0a50d44..2362c76 100644
--- a/src/main.js
+++ b/src/main.js
@@ -8,13 +8,13 @@
 import './cache' //页面缓存
 import store from './store'
 import {
-  loadStyle
+    loadStyle
 } from './util/util'
 import * as urls from '@/config/env'
 import Element from 'element-ui'
 import {
-  iconfontUrl,
-  iconfontVersion
+    iconfontUrl,
+    iconfontVersion
 } from '@/config/env'
 import i18n from './lang' // Internationalization
 import './styles/common.scss'
@@ -30,13 +30,13 @@
 Vue.use(router)
 Vue.use(VueAxios, axios)
 Vue.use(Element, {
-  i18n: (key, value) => i18n.t(key, value)
+    i18n: (key, value) => i18n.t(key, value)
 })
 Vue.use(window.AVUE, {
-  size: 'small',
-  tableSize: 'small',
-  calcHeight: 65,
-  i18n: (key, value) => i18n.t(key, value)
+    size: 'small',
+    tableSize: 'small',
+    calcHeight: 65,
+    i18n: (key, value) => i18n.t(key, value)
 })
 // 注册全局容器
 Vue.component('basicContainer', basicContainer)
@@ -45,24 +45,30 @@
 Vue.component('avueUeditor', avueUeditor)
 // 加载相关url地址
 Object.keys(urls).forEach(key => {
-  Vue.prototype[key] = urls[key]
+    Vue.prototype[key] = urls[key]
 })
 // 加载website
 Vue.prototype.website = website
 // 动态加载阿里云字体库
 iconfontVersion.forEach(ele => {
-  loadStyle(iconfontUrl.replace('$key', ele))
+    loadStyle(iconfontUrl.replace('$key', ele))
 })
 
 Vue.config.productionTip = false
 
 //加载全局组件选地图定位点,每个页面都要使用
 import chousePoint from './components/mapOncePoint/chousePoint'
-Vue.component("chousePoint", chousePoint);
+Vue.component("chousePoint", chousePoint)
+
+import xymap from './components/xymap/map'
+Vue.component("xymap", xymap)
+
+import setxy from './components/xymap/setxy'
+Vue.component("setxy", setxy)
 
 new Vue({
-  router,
-  store,
-  i18n,
-  render: h => h(App)
+    router,
+    store,
+    i18n,
+    render: h => h(App)
 }).$mount('#app')

--
Gitblit v1.9.3