Sfoglia il codice sorgente

fix: 手动测流弹窗一直显示

hum tan 1 anno fa
parent
commit
568ca321e1
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      ruoyi-ui/src/views/analysis/task/waiting/manual.vue

+ 2 - 1
ruoyi-ui/src/views/analysis/task/waiting/manual.vue

@@ -122,7 +122,7 @@ export default {
         }
         this.notify = this.$notify.success({
           title: '成功',
-          message: '加测指令下发成功,收到测流开始指令后页面会自动跳转',
+          message: '加测指令下发成功,收到测流开始指令后页面会自动刷新',
           showClose: false,
           duration: 0,
         });
@@ -143,6 +143,7 @@ export default {
   },
   beforeDestroy() {
     if(this.timer)clearTimeout(this.timer);
+    if(this.notify)this.notify.close();
   }
 }
 </script>