Browse Source

刷新测试数据。

jxq 1 month ago
parent
commit
7ea5bbf22f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/pro-steps/components/ceshishuju.vue

+ 1 - 1
src/views/pro-steps/components/ceshishuju.vue

@@ -144,7 +144,7 @@ const startTesting = () => {
 const getLastTestingData = async () => {
   let res: any = await getCSSJLastLogData();
   if (res.data) {
-    tableData.value.push(...res.data);
+    tableData.value = res?.data || [];
   }
 };