diff --git a/config/index.js b/config/index.js index 2a40e5e..4a1805b 100644 --- a/config/index.js +++ b/config/index.js @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "192.168.16.109", // can be overwritten by process.env.HOST + host: "localhost", // 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 2a40e5e..4a1805b 100644 --- a/config/index.js +++ b/config/index.js @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "192.168.16.109", // can be overwritten by process.env.HOST + host: "localhost", // 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/components/site/previewOfSiteStatus.vue b/src/components/site/previewOfSiteStatus.vue index f3357c6..14d8f58 100644 --- a/src/components/site/previewOfSiteStatus.vue +++ b/src/components/site/previewOfSiteStatus.vue @@ -330,12 +330,16 @@ class="GIsRightWaringList" v-for="(item, index) in WaringList" :key="index" + ref="warn" + @mouseover="mouseOver" + @mouseleave="mouseLeave" >
@@ -921,6 +925,16 @@ box.scrollTop++; } }, + //鼠标移入事件 + mouseOver() { + if(this.timer) { + clearInterval(this.timer); + } + }, + //鼠标移出事件 + mouseLeave() { + this.timer = setInterval(this.ScrollUp, 100); + }, //初始化地图 createMap() { let _this = this; @@ -1160,6 +1174,7 @@ this.$nextTick(function() { this.timer = setInterval(this.ScrollUp, 100); }); + // 默认从本地session srotage里面读取历史搜索记录ZZJ this.getItem(); },