Explorar el Código

复制本表id修改

duy hace 2 años
padre
commit
04259c7295
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
     })