| | |
| | | // that.searchMixingInfos() |
| | | that.timer = setInterval(()=>{ |
| | | that.searchMixingInfos() |
| | | },300000) |
| | | },60000) |
| | | }, |
| | | beforeDestroy() { |
| | | clearInterval(this.timer); |
| | |
| | | this.searchWorkInfos() |
| | | }, |
| | | mounted(){ |
| | | // const that = this; |
| | | // that.timer = setInterval(()=>{ |
| | | // that.searchWorkInfos() |
| | | // },300000) |
| | | const that = this; |
| | | that.timer = setInterval(()=>{ |
| | | that.searchWorkInfos() |
| | | },60000) |
| | | }, |
| | | beforeDestroy() { |
| | | // clearInterval(this.timer); |
| | | // this.timer = null; |
| | | clearInterval(this.timer); |
| | | this.timer = null; |
| | | }, |
| | | methods:{ |
| | | searchWorkInfos(){ |