瀏覽代碼

刷新测试数据。

jxq 1 月之前
父節點
當前提交
7ea5bbf22f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 || [];
   }
 };