Commit b1710c11 authored by 卢均锐's avatar 卢均锐

fix: [12879]

parent 83bb9968
......@@ -38,6 +38,13 @@ const SignUpForm = () => {
const getCountryCodeId = async () => {
const res = await PublicApi.getManageCountryAreaGetTelCode()
if (res.code === 1000) {
let _value = ''
for (let i = 0; i < res.data.length; i++) {
if (res.data[i] === '86') {
_value = res.data[i];
break
}
}
return { telPrefix: res.data }
}
return {}
......@@ -104,6 +111,7 @@ const SignUpForm = () => {
member: name,
startSignUp: formatTimeString(data.startSignUp),
endSignUp: formatTimeString(data.endSignUp),
telPrefix: '86'
});
})
}
......@@ -148,4 +156,4 @@ const SignUpForm = () => {
</PageHeaderWrapper>
)
}
export default SignUpForm
\ No newline at end of file
export default SignUpForm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment