Ver Fonte

日常开发

林旭祥 há 1 mês atrás
pai
commit
b51f0e9d37
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      src/views/train/run.vue

+ 3 - 0
src/views/train/run.vue

@@ -217,6 +217,9 @@ const getMessage = (e: any) => {
 
   //获取跑道配置
   if (e.cmd === 'exam_config') {
+    if (isLongRun.value) {
+      return false;
+    }
     let num = e.data.num_of_tracks;
     let list: any = [];
     for (let i = 1; i <= num; i++) {