outaozhen 5 년 전
부모
커밋
7347c5a0f3
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/pages/Product/Lock/Lockstore/components/LocksDetail/LockModal.jsx

+ 2 - 3
src/pages/Product/Lock/Lockstore/components/LocksDetail/LockModal.jsx

@@ -122,11 +122,10 @@ const LockModal = props => {
   }
 
   // 关联联系人
-  const connectClient = async (id, radioVal) => {
+  const connectClient = async id => {
     const { code = -1 } = await apiSoftwareAddLonglelog({
-      // id,
       clientId: id,
-      status: radioVal,
+      status: state.radioVal,
       longleId
     })
     if (code === consts.RET_CODE.SUCCESS) {