Browse Source

复制本表id修改

duy 2 years ago
parent
commit
04259c7295
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/tentative/detect/components/ListItem.vue

+ 1 - 1
src/views/tentative/detect/components/ListItem.vue

@@ -767,7 +767,7 @@ const copeBussTab = async (pkeyIds) => {
     const {id, contractId} = baseData.value
     copyClickLoading.value = true
     const {error, code} = await dataApi.copyBussTab({
-        id: id,
+        id: id||newaddId.value,
         pKeyId: pkeyIds,
         contractId: contractId
     })