zhulizhen1111 5 年之前
父节点
当前提交
4289b7fef3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/strategy/animationBox.vue
  2. 1 1
      src/views/strategy/index.vue

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

@@ -78,7 +78,7 @@ export default {
     components: { bomBox, strategyLine },
     components: { bomBox, strategyLine },
     methods:{
     methods:{
         isShowDraw(){
         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
                 this.showDraw = true
             }else{
             }else{
                 this.showDraw = false
                 this.showDraw = false

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

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