11
张磊磊
2023-12-05 ed4e46ed9dfec8d1719dac63d10292c973f9c45c
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)
    },
    beforeDestroy() {
        // clearInterval(this.timer);
        // this.timer = null;
        clearInterval(this.timer);
        this.timer = null;
    },
    methods:{
        searchWorkInfos(){