瀏覽代碼

修改bug

ZaiZai 1 年之前
父節點
當前提交
11cbdcf45f
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      public/version.json
  2. 3 3
      src/views/tentative/detect/test.vue

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240529135004"
+  "value": "20240529163937"
 }

+ 3 - 3
src/views/tentative/detect/test.vue

@@ -434,17 +434,17 @@ const authBtnTabdata = ref([
     { key: '3', name: '业主抽检' },
 ])
 const authBtnTabClick = (item) => {
+    tableData.value = []
     if (item.key !== authBtnTabKey.value && item.key < 3) {
         authBtnTabKey.value = item.key
         searchForm.value.type = item.key
         searchForm.value.current = 1
         getTableData()
-    }
-    if (item.key === '3') {
+    } else if (item.key === '3') {
         authBtnTabKey.value = item.key
         searchForm.value.type = item.key
         searchForm.value.current = 1
-        tableData.value = []
+        getTableData()
     }
 }
 //contractType,  1施工,2监理, 3业主