左侧栏初步

This commit is contained in:
禺狨
2023-03-02 11:46:15 +08:00
10 changed files with 166 additions and 74 deletions

View File

@@ -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"]}>