|  |  |  | 
|---|
|  |  |  | import IconPhone from '@/assets/mine/icon-phone.png'; | 
|---|
|  |  |  | import Taro from '@tarojs/taro'; | 
|---|
|  |  |  | import { setOSSLink } from '@12333/utils'; | 
|---|
|  |  |  | import { useEvent } from 'senin-mini/hooks'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | defineOptions({ | 
|---|
|  |  |  | name: 'InnerPage', | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | useEvent('updateResume', function (data: { content: boolean }) { | 
|---|
|  |  |  | if (data.content) { | 
|---|
|  |  |  | refetch({ | 
|---|
|  |  |  | type: 'inactive', | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { userResumeInfo, refetch } = useUserResume(); | 
|---|
|  |  |  | 
|---|
|  |  |  | function goPage(routeName: string) { | 
|---|
|  |  |  | Taro.navigateTo({ | 
|---|
|  |  |  | url: routeName, | 
|---|
|  |  |  | // events: { | 
|---|
|  |  |  | //   updateResume(data: { content: boolean }) { | 
|---|
|  |  |  | //     if (data.content) { | 
|---|
|  |  |  | //       refetch({ | 
|---|
|  |  |  | //         type: 'inactive', | 
|---|
|  |  |  | //       }); | 
|---|
|  |  |  | //     } | 
|---|
|  |  |  | //   }, | 
|---|
|  |  |  | // }, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | function goEditMineInfo() { | 
|---|