| | |
| | | name: 'InnerPage', |
| | | }); |
| | | |
| | | const { refetch: userResumeRefetch } = useUserResume(); |
| | | const { updateUserResume } = useUpdateResume(); |
| | | |
| | | const { |
| | | isLoading, |
| | |
| | | try { |
| | | let params: API.SaveUserResumeDetailCommand = { |
| | | weight: form.weight, |
| | | height: form.weight, |
| | | height: form.height, |
| | | photos: form.photos?.length ? form.photos.map((x) => x.path) : [], |
| | | }; |
| | | let res = await userResumeServices.saveUserResumeDetail(params); |
| | |
| | | Message.success('保存成功', { |
| | | onClosed() { |
| | | goBack(); |
| | | userResumeRefetch({ type: 'inactive' }); |
| | | updateUserResume(); |
| | | }, |
| | | }); |
| | | } |