zhulizhen1111 4 anos atrás
pai
commit
4289b7fef3

+ 1 - 1
src/views/strategy/animationBox.vue

@@ -78,7 +78,7 @@ export default {
     components: { bomBox, strategyLine },
     methods:{
         isShowDraw(){
-            if(Object.keys(this.chillerCommandQ).length>0 && this.chillerCommandQ.isNew){
+            if((Object.keys(this.chillerCommandQ).length>0 && this.chillerCommandQ.isNew) || (Object.keys(this.chillerCommandQ).length>0 && !this.chillerCommandQ.isExecuted)){
                 this.showDraw = true
             }else{
                 this.showDraw = false

+ 1 - 1
src/views/strategy/index.vue

@@ -134,7 +134,7 @@ export default {
         this.clearId = setInterval(function(){
            vm.getChiller()
            vm.$refs.box.isShowDraw()
-        },5000*60)
+        },1000*60)
         this.getChiller()
        
     },