|
@@ -39,29 +39,30 @@ Vue.prototype.$axios = axios;
|
|
import global from './global.js'
|
|
import global from './global.js'
|
|
Vue.prototype.global = global
|
|
Vue.prototype.global = global
|
|
import ItemWrap from './components/item-wrap/item-wrap.vue'
|
|
import ItemWrap from './components/item-wrap/item-wrap.vue'
|
|
-Vue.component('ItemWrap',ItemWrap)
|
|
|
|
|
|
+Vue.component('ItemWrap', ItemWrap)
|
|
import Echart from './components/echart/index.vue'
|
|
import Echart from './components/echart/index.vue'
|
|
-Vue.component('Echart',Echart)
|
|
|
|
- // 初始化vue-amap
|
|
|
|
- // AMap.initAMapApiLoader({
|
|
|
|
- // // 高德key
|
|
|
|
- // key: 'd5486742b76ab0969e4c3ce26f46dfc6',
|
|
|
|
- // // 插件集合 (插件按需引入)
|
|
|
|
- // plugin: ['AMap.Geolocation', 'Geolocation', 'AMap.DistrictSearch', "AMap.PlaceSearch",'AMap.Autocomplete', 'AMap.Geocoder', 'AMap.DistrictSearch'],
|
|
|
|
- // v: '1.4.4'
|
|
|
|
- // });
|
|
|
|
- // ------------ 通过域名判断起始的登陆页面 开始 --------------------
|
|
|
|
- //使用login的Url
|
|
|
|
- // const urls = [
|
|
|
|
- // 'www.winsea.com',
|
|
|
|
- // 'product-test.winsea.com',
|
|
|
|
- // 'test.winsea.com',
|
|
|
|
- // 'saas.winsea.com',
|
|
|
|
- // 'saas-test.winsea.com'
|
|
|
|
- // ]
|
|
|
|
- // urls.includes(window.location.host)
|
|
|
|
- // ? localStorage.setItem('ws_login_type', 2)
|
|
|
|
- // : localStorage.removeItem('ws_login_type')
|
|
|
|
|
|
+Vue.component('Echart', Echart)
|
|
|
|
+import '@/utils/jsmpeg.min'
|
|
|
|
+// 初始化vue-amap
|
|
|
|
+// AMap.initAMapApiLoader({
|
|
|
|
+// // 高德key
|
|
|
|
+// key: 'd5486742b76ab0969e4c3ce26f46dfc6',
|
|
|
|
+// // 插件集合 (插件按需引入)
|
|
|
|
+// plugin: ['AMap.Geolocation', 'Geolocation', 'AMap.DistrictSearch', "AMap.PlaceSearch",'AMap.Autocomplete', 'AMap.Geocoder', 'AMap.DistrictSearch'],
|
|
|
|
+// v: '1.4.4'
|
|
|
|
+// });
|
|
|
|
+// ------------ 通过域名判断起始的登陆页面 开始 --------------------
|
|
|
|
+//使用login的Url
|
|
|
|
+// const urls = [
|
|
|
|
+// 'www.winsea.com',
|
|
|
|
+// 'product-test.winsea.com',
|
|
|
|
+// 'test.winsea.com',
|
|
|
|
+// 'saas.winsea.com',
|
|
|
|
+// 'saas-test.winsea.com'
|
|
|
|
+// ]
|
|
|
|
+// urls.includes(window.location.host)
|
|
|
|
+// ? localStorage.setItem('ws_login_type', 2)
|
|
|
|
+// : localStorage.removeItem('ws_login_type')
|
|
|
|
|
|
// ------------ 通过域名判断起始的登陆页面 结束 --------------------
|
|
// ------------ 通过域名判断起始的登陆页面 结束 --------------------
|
|
|
|
|