Commit f55c52c6 authored by wty's avatar wty

修复问题3

parent a2a71d44
......@@ -4,7 +4,7 @@ import {Root} from "../../dataCenter/Root";
import {useFormState} from "../../utils/hook";
import {useHistory} from "react-router-dom";
function Login(props) {
function Login() {
const history = useHistory()
const {fetchData, dataCenter} = useContext(Root)
const [needLogin,setNeedLogin] = useState(false)
......
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