dengrui hai 1 mes
pai
achega
1cf8a49eb3
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/views/modules/runTest/run-test.vue

+ 3 - 2
src/views/modules/runTest/run-test.vue

@@ -162,6 +162,7 @@ const onClickGlobalConfig = () => {
     ConfigDataAndDeviceRef.value && ConfigDataAndDeviceRef.value.openDrawer();
   });
 };
+const iconStatus = ref(true);
 // 开始测试相关
 const isTesting = ref(false);
 const usedTime = ref(0);
@@ -180,7 +181,7 @@ const startToRunTest = async () => {
   };
 
   let res = await startExecuteProjects(params);
-
+  iconStatus.value = false;
   wsClient.open();
 
   currentTestingProject.value = res.data;
@@ -611,7 +612,7 @@ const cancelMsgType5 = () => {
               <div>
                 <span
                   class="item-icon"
-                  :style="{ display: isTesting ? 'block' : 'none' }"
+                  :style="{ display: iconStatus ? 'none' : 'block' }"
                 >
                   <svg-icon
                     v-if="item.deviceState"