李旭东
2023-12-08 7efc6ed86025b610cab109a2e9f83362740d8ed4
web/src/views/MixingInfo/workShop.vue
@@ -63,14 +63,14 @@
        this.searchWorkInfos()
    },
    mounted(){
        // const that = this;
        // that.timer = setInterval(()=>{
        //     that.searchWorkInfos()
        // },300000)
        const that = this;
        that.timer = setInterval(()=>{
            that.searchWorkInfos()
        },60000 * 10)
    },
    beforeDestroy() {
        // clearInterval(this.timer);
        // this.timer = null;
        clearInterval(this.timer);
        this.timer = null;
    },
    methods:{
        searchWorkInfos(){