优化组件名

This commit is contained in:
none 2023-03-03 14:06:32 +08:00
parent 83d86c58ed
commit 050912f60d
9 changed files with 3 additions and 7 deletions

View File

@ -1 +0,0 @@
export * from "./Footer";

View File

@ -1,5 +1,4 @@
import React from "react";
import styles from "./Footer.module.less";
import { Layout, Typography } from "antd";
export const Footer: React.FC = () => {

View File

@ -1 +0,0 @@
export * from "./Header";

View File

@ -1,6 +1,6 @@
import React from "react";
import styles from "./Header.module.less";
import { Layout, Typography, Button, Dropdown, MenuProps } from "antd";
import styles from "./index.less";
import { Layout, Button, Dropdown, MenuProps } from "antd";
import { useSelector } from "../../store/hooks";
import { useDispatch } from "react-redux";
import { useNavigate } from "react-router-dom";

View File

@ -1 +0,0 @@
export * from "./LeftMenu";

View File

@ -7,7 +7,7 @@ import {
import { Menu } from "antd";
//导出路由跳转hooks函数
import { useNavigate, Link } from "react-router-dom";
import styles from "./LeftMenu.module.less";
import styles from "./index.less";
import logo from "../../assets/logo.png";
import "../../utils/index.less";