src/views/midea/left.vue
@@ -122,8 +122,8 @@ }, methods: { tops(){ // this.$http.get('http://127.0.0.1:8080/greaseBoard/bigListGreaseBoard') this.$http.get('http://172.20.1.10:8080/greaseBoard/bigListGreaseBoard') this.$http.get('http://127.0.0.1:8080/greaseBoard/bigListGreaseBoard') // this.$http.get('http://172.20.1.10:8080/greaseBoard/bigListGreaseBoard') .then((response)=>{ this.config = { header: ['工位', '到期时间', '剩余天数'], @@ -143,7 +143,7 @@ changeTiming() { setInterval(() => { this.tops(); }, 300000) }, 6000) }, } }