浏览代码

更改状态

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,