叶松
2023-11-30 3ba380d1f422a2852dee9d0d6cab1fe6333d05f0
修改时间为1分钟
已修改2个文件
14 ■■■■ 文件已修改
web/src/views/MixingInfo/messageInfo.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/views/MixingInfo/workShop.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/views/MixingInfo/messageInfo.vue
@@ -52,7 +52,7 @@
        // that.searchMixingInfos()
        that.timer = setInterval(()=>{
            that.searchMixingInfos()
        },300000)
        },60000)
    },
    beforeDestroy() {
        clearInterval(this.timer);
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(){