diff --git a/config/index.js b/config/index.js index f58eecb..f8b4cc2 100644 --- a/config/index.js +++ b/config/index.js @@ -114,7 +114,7 @@ }, // Various Dev Server settings - host: "192.168.30.113", // can be overwritten by process.env.HOST + host: "192.168.30.144", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/config/index.js b/config/index.js index f58eecb..f8b4cc2 100644 --- a/config/index.js +++ b/config/index.js @@ -114,7 +114,7 @@ }, // Various Dev Server settings - host: "192.168.30.113", // can be overwritten by process.env.HOST + host: "192.168.30.144", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/api/APIindex.js b/src/api/APIindex.js index 631e9f2..cb474a2 100644 --- a/src/api/APIindex.js +++ b/src/api/APIindex.js @@ -15,6 +15,7 @@ // config.headers.post['Content-Type'] = 'application/json;charset=utf-8'; // let USERNO = JSON.parse(locasto.getItem('USERNO')); config.headers.post["Content-Type"] = "application/json;charset=utf-8"; + config.headers.get["authority"] = "https://geo.datav.aliyun.com"; if ( config.url == "http://www.yunplc.com:7080/exlog" || config.url.indexOf("120.27.155.137:7080") != -1 diff --git a/config/index.js b/config/index.js index f58eecb..f8b4cc2 100644 --- a/config/index.js +++ b/config/index.js @@ -114,7 +114,7 @@ }, // Various Dev Server settings - host: "192.168.30.113", // can be overwritten by process.env.HOST + host: "192.168.30.144", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/api/APIindex.js b/src/api/APIindex.js index 631e9f2..cb474a2 100644 --- a/src/api/APIindex.js +++ b/src/api/APIindex.js @@ -15,6 +15,7 @@ // config.headers.post['Content-Type'] = 'application/json;charset=utf-8'; // let USERNO = JSON.parse(locasto.getItem('USERNO')); config.headers.post["Content-Type"] = "application/json;charset=utf-8"; + config.headers.get["authority"] = "https://geo.datav.aliyun.com"; if ( config.url == "http://www.yunplc.com:7080/exlog" || config.url.indexOf("120.27.155.137:7080") != -1 diff --git a/src/components/site/previewOfSiteStatus.vue b/src/components/site/previewOfSiteStatus.vue index 573c233..15384bd 100644 --- a/src/components/site/previewOfSiteStatus.vue +++ b/src/components/site/previewOfSiteStatus.vue @@ -1853,12 +1853,18 @@ //点击的是聚簇图标,展示统计信息 else { /* console.log("点击了聚簇"+e.coordinate) */ - var centerthis = this.getCenterFromArray( - feature.values_.features - ); + var cell ; + var cells = feature.values_.features; + for(var cc=0;cc