Bladeren bron

试验规范修改

duy 1 maand geleden
bovenliggende
commit
50769e225a
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      src/views/tentative/basic/rule.vue

+ 2 - 2
src/views/tentative/basic/rule.vue

@@ -106,7 +106,7 @@ const getTableData = async () => {
         projectId: projectId.value,
         contractId: contractId.value,
         type: 1,
-        privateId: nodeItemInfo.value['id'] || '',
+        privateId: nodeItemInfo.value['primaryKeyId'] || '',
         current: 1,
         size:200,
     })
@@ -131,7 +131,7 @@ const getFileDetail = async (id) => {
     const { error, code, data } = await dataApi.page({ 
               type: 2,
               parentId: id,
-              privateId: nodeItemInfo.value['id'] || '',
+              privateId: nodeItemInfo.value['primaryKeyId'] || '',
              current: 1,
              size: 100,