duy 2 vuotta sitten
vanhempi
commit
e4231cc879
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/tentative/detect/test-form.vue

+ 1 - 1
src/views/tentative/detect/test-form.vue

@@ -315,7 +315,7 @@ const getSearchNodeTables = async () => {
     isLoading.value = true
     if(isaddType){
         const { error, code, data } = await dataApi.searchNodeTables({
-            id: dataId,
+            id: dataId.length>0?dataId:nodeIdvalue.value,
             projectId: projectId.value,
             contractId: contractId.value,
             primaryKeyId: nodeId,