outaozhen 3 years ago
parent
commit
65226444a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/Project/Management/components/Detail.tsx

+ 1 - 1
src/pages/Project/Management/components/Detail.tsx

@@ -80,7 +80,7 @@ const DetailModal: React.FC<ProjectModalProps> = ({
     }
     if (state.activeKey === '2') {
       const TabFormData = {
-        // accountID: defaultFormData.approval.name,
+        accountID: defaultFormData.approval?.name,
         approvalID: defaultFormData.reportAccount?.name
       }
       ref.current?.setFieldsValue({ ...TabFormData })