1.移除eslint校验。

This commit is contained in:
amass 2023-06-26 18:55:43 +08:00
parent 30ee4cd888
commit 3e5ad994cd

View File

@ -2,12 +2,12 @@ import { Container, TextField, InputAdornment, Link, Button } from "@mui/materia
import React, { useState, useEffect, useRef } from 'react';
import PhoneIphoneIcon from '@mui/icons-material/PhoneIphone';
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 Agreement from "./Agreement.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 [seconds, setSeconds] = useState(0); // 倒计时
const account = useSelector(state => state.user.account)