mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 07:09:27 +08:00
http封装
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import React from "react";
|
||||
import React, { useEffect } from "react";
|
||||
import styles from "./HomePage.module.css";
|
||||
import { Header, Footer } from "../../compenents";
|
||||
import { login } from "../../api/index";
|
||||
|
||||
export const HomePage: React.FC = () => {
|
||||
useEffect(() => {
|
||||
login.login("1@qq.com", "123123", "1", "2");
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header></Header>
|
||||
|
||||
Reference in New Issue
Block a user