1.移除eslint校验。
This commit is contained in:
parent
30ee4cd888
commit
3e5ad994cd
@ -2,12 +2,12 @@ import { Container, TextField, InputAdornment, Link, Button } from "@mui/materia
|
|||||||
import React, { useState, useEffect, useRef } from 'react';
|
import React, { useState, useEffect, useRef } from 'react';
|
||||||
import PhoneIphoneIcon from '@mui/icons-material/PhoneIphone';
|
import PhoneIphoneIcon from '@mui/icons-material/PhoneIphone';
|
||||||
import LockIcon from '@mui/icons-material/Lock';
|
import LockIcon from '@mui/icons-material/Lock';
|
||||||
import { useSelector, useDispatch } from 'react-redux'
|
import { useSelector } from 'react-redux'
|
||||||
import yzs from "../business/request.js";
|
import yzs from "../business/request.js";
|
||||||
import Agreement from "./Agreement.js";
|
import Agreement from "./Agreement.js";
|
||||||
import { validatePhoneNumber, textHintOfValidatePhoneNumber } from "../business/utilities.js"
|
import { validatePhoneNumber, textHintOfValidatePhoneNumber } from "../business/utilities.js"
|
||||||
|
|
||||||
export default function ({ udid, firstEnter, onChange, agreeAgreement, onAgreeChange }) {
|
export default function DynamicCodeForm({ udid, firstEnter, onChange, agreeAgreement, onAgreeChange }) {
|
||||||
const code = useRef(null);
|
const code = useRef(null);
|
||||||
const [seconds, setSeconds] = useState(0); // 倒计时
|
const [seconds, setSeconds] = useState(0); // 倒计时
|
||||||
const account = useSelector(state => state.user.account)
|
const account = useSelector(state => state.user.account)
|
||||||
|
Loading…
Reference in New Issue
Block a user