fix(个人中心): 个人信息手机号格式优化
--bug=1037334 --user=王旭 【个人中心】个人信息手机号格式优化 https://www.tapd.cn/55049933/s/1482767
This commit is contained in:
parent
739727c04a
commit
289b1471ec
|
@ -139,6 +139,7 @@
|
|||
import { getBaseInfo, updateBaseInfo } from '@/api/modules/user';
|
||||
import { useI18n } from '@/hooks/useI18n';
|
||||
import useUserStore from '@/store/modules/user/index';
|
||||
import { formatPhoneNumber } from '@/utils';
|
||||
import { validateEmail, validatePhone } from '@/utils/validate';
|
||||
|
||||
import { OrganizationProjectListItem } from '@/models/user';
|
||||
|
@ -174,7 +175,7 @@
|
|||
},
|
||||
{
|
||||
label: t('ms.personal.phone'),
|
||||
value: userStore.phone || '',
|
||||
value: formatPhoneNumber(userStore.phone || ''),
|
||||
},
|
||||
{
|
||||
label: t('ms.personal.org'),
|
||||
|
|
Loading…
Reference in New Issue