duy пре 2 година
родитељ
комит
e4231cc879
1 измењених фајлова са 1 додато и 1 уклоњено
  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,