Commit fdb6ff26 authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 修复验证码提示翻译

parent abb91a14
......@@ -5,8 +5,7 @@ import godEvent from '@/utils/event'
import { RiskCheck } from 'god';
import { decryptedByAES, encryptedByAES } from '@/utils/cryptoAes';
import { getMemberCaptcha, getMemberRegisterPhoneCheck, postMemberRegisterPswSms, postMemberRegisterSms } from '@/services/MemberV2Api';
import { getIntl } from 'umi';
const intl = getIntl();
import { useIntl } from 'umi';
// 滑块尺寸
const FLAG_SIZE = 60
const IMG_WIDTH = 352
......@@ -18,6 +17,7 @@ const prefixCode = '+86'
const Phone = (props) => {
const { value, form, schema } = props
const intl = useIntl();
const {text, isActive, start} = useCountDown({
maxTime: 60,
minTime: 0,
......@@ -212,7 +212,7 @@ const Phone = (props) => {
yPoint={remoteImg.y}
shadowSize={FLAG_SIZE}
differ={10}
tipText={intl.formatMessage({ id: 'component.riskCheckTips', defaultMessage: '' })}
tipText={intl.formatMessage({ id: 'components.riskCheckTips', defaultMessage: '' })}
onSuccess={handleCheckSuccess}
/>
</Modal>
......
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