mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 07:09:27 +08:00
左侧栏初步
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import React from "react";
|
||||
import React, { useEffect } from "react";
|
||||
import styles from "./HomePage.module.css";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import { Header, LeftMenu } from "../../compenents";
|
||||
import { Header, LeftMenu, Footer } from "../../compenents";
|
||||
import { login } from "../../api/index";
|
||||
|
||||
export const HomePage: React.FC = () => {
|
||||
useEffect(() => {
|
||||
login.login("1@qq.com", "123123", "1", "2");
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className={styles["layout-wrap"]}>
|
||||
|
||||
Reference in New Issue
Block a user