Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
fdb6ff26
Commit
fdb6ff26
authored
Dec 21, 2021
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复验证码提示翻译
parent
abb91a14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Phone.tsx
src/components/NiceForm/components/Phone.tsx
+3
-3
No files found.
src/components/NiceForm/components/Phone.tsx
View file @
fdb6ff26
...
@@ -5,8 +5,7 @@ import godEvent from '@/utils/event'
...
@@ -5,8 +5,7 @@ import godEvent from '@/utils/event'
import
{
RiskCheck
}
from
'god'
;
import
{
RiskCheck
}
from
'god'
;
import
{
decryptedByAES
,
encryptedByAES
}
from
'@/utils/cryptoAes'
;
import
{
decryptedByAES
,
encryptedByAES
}
from
'@/utils/cryptoAes'
;
import
{
getMemberCaptcha
,
getMemberRegisterPhoneCheck
,
postMemberRegisterPswSms
,
postMemberRegisterSms
}
from
'@/services/MemberV2Api'
;
import
{
getMemberCaptcha
,
getMemberRegisterPhoneCheck
,
postMemberRegisterPswSms
,
postMemberRegisterSms
}
from
'@/services/MemberV2Api'
;
import
{
getIntl
}
from
'umi'
;
import
{
useIntl
}
from
'umi'
;
const
intl
=
getIntl
();
// 滑块尺寸
// 滑块尺寸
const
FLAG_SIZE
=
60
const
FLAG_SIZE
=
60
const
IMG_WIDTH
=
352
const
IMG_WIDTH
=
352
...
@@ -18,6 +17,7 @@ const prefixCode = '+86'
...
@@ -18,6 +17,7 @@ const prefixCode = '+86'
const
Phone
=
(
props
)
=>
{
const
Phone
=
(
props
)
=>
{
const
{
value
,
form
,
schema
}
=
props
const
{
value
,
form
,
schema
}
=
props
const
intl
=
useIntl
();
const
{
text
,
isActive
,
start
}
=
useCountDown
({
const
{
text
,
isActive
,
start
}
=
useCountDown
({
maxTime
:
60
,
maxTime
:
60
,
minTime
:
0
,
minTime
:
0
,
...
@@ -212,7 +212,7 @@ const Phone = (props) => {
...
@@ -212,7 +212,7 @@ const Phone = (props) => {
yPoint=
{
remoteImg
.
y
}
yPoint=
{
remoteImg
.
y
}
shadowSize=
{
FLAG_SIZE
}
shadowSize=
{
FLAG_SIZE
}
differ=
{
10
}
differ=
{
10
}
tipText=
{
intl
.
formatMessage
({
id
:
'component.riskCheckTips'
,
defaultMessage
:
''
})
}
tipText=
{
intl
.
formatMessage
({
id
:
'component
s
.riskCheckTips'
,
defaultMessage
:
''
})
}
onSuccess=
{
handleCheckSuccess
}
onSuccess=
{
handleCheckSuccess
}
/>
/>
</
Modal
>
</
Modal
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment