diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 7312d36..26efd72 100755 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -18,7 +18,7 @@ export default function NotFound() {

404

Page not found

-

The page you are looking for does not exist or has been removed.

+

您正在访问的页面不存在或已被删除

diff --git a/src/components/Header/component/AAA/index.tsx b/src/components/Header/component/SidebarNav/index.tsx similarity index 87% rename from src/components/Header/component/AAA/index.tsx rename to src/components/Header/component/SidebarNav/index.tsx index 572bb06..54d1b4c 100755 --- a/src/components/Header/component/AAA/index.tsx +++ b/src/components/Header/component/SidebarNav/index.tsx @@ -45,7 +45,7 @@ export default ({ list, open, onClose }: Props) => { {one.type === 'nav' && (
  • - + {one.icon} {one.name} @@ -56,7 +56,7 @@ export default ({ list, open, onClose }: Props) => {
      {one.children?.map((two) => (
    • - + {two.icon} {two.name}
    • diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 460740e..005c1f8 100755 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -6,7 +6,7 @@ import React, { useState, useEffect } from 'react'; import { Switch } from '@heroui/react'; import Show from '@/components/Show'; -import AAA from './component/AAA'; +import SidebarNav from './component/SidebarNav'; import { IoIosArrowDown } from 'react-icons/io'; import { FaRegSun } from 'react-icons/fa'; @@ -93,7 +93,7 @@ const Header = () => { {/* 渲染分类 */} {one.type === 'cate' && (
    • - + {one.icon} {one.name} @@ -104,7 +104,7 @@ const Header = () => {
        {one.children?.map((two) => (
      • - + {two.name}
      • @@ -149,7 +149,7 @@ const Header = () => { {/* 侧边导航:移动端时候显示 */} {/* setIsOpenSidebarNav(false)} /> */} - setIsOpenSidebarNav(false)} /> + setIsOpenSidebarNav(false)} /> ); };