|  |  | 
 |  |  | <script setup lang="ts"> | 
 |  |  | import { goBack } from '@/utils'; | 
 |  |  | import { NumberInput } from '@12333/components'; | 
 |  |  | import { useUpdateResume } from '@12333/hooks'; | 
 |  |  | import * as userResumeServices from '@12333/services/apiV2/userResume'; | 
 |  |  | import { convertApiPath2Url, Message } from '@12333/utils'; | 
 |  |  | import { FileItem } from '@nutui/nutui-taro/dist/types/__VUE/uploader/type'; | 
 |  |  | 
 |  |  |   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(); | 
 |  |  |         }, | 
 |  |  |       }); | 
 |  |  |     } |