Skip to content

Commit

Permalink
refactor: ♻️ 修改页面引用路径
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-czy committed Dec 20, 2023
1 parent 86409ca commit 28c1d77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/layouts/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { SizeType } from "antd/es/config-provider/SizeContext";
import { useDispatch, useSelector } from "@/store";
import { updateCollapsed } from "@/store/module/sidebar";
import { setComponentSize, setLanguage } from "@/store/module/global";
import ThemeComp from "../theme/index";
import FullScreen from "../fullScreen/index";
import ThemeComp from "@/components/layouts/components/theme";
import FullScreen from "@/components/layouts/components/fullScreen";
import SvgIcon from "@/components/svgIcon";

const { Header } = Layout;
Expand Down
4 changes: 2 additions & 2 deletions src/components/layouts/components/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { SizeType } from "antd/es/config-provider/SizeContext";
import { useDispatch, useSelector } from "@/store";
import { updateCollapsed } from "@/store/module/sidebar";
import { setComponentSize, setLanguage } from "@/store/module/global";
import ThemeComp from "../theme/index";
import FullScreen from "../fullScreen/index";
import ThemeComp from "@/components/layouts/components/theme";
import FullScreen from "@/components/layouts/components/fullScreen";

Check failure on line 21 in src/components/layouts/components/header/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-deploy

Already included file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/fullScreen/index.tsx' differs from file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/FullScreen/index.tsx' only in casing.
import SvgIcon from "@/components/svgIcon";

const { Header } = Layout;
Expand Down
6 changes: 3 additions & 3 deletions src/components/layouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Outlet } from "react-router-dom";
import { Layout } from "antd";

import "./index.less";
import Sidebar from "./components/sidebar";
import Header from "./components/header";
import Footer from "./components/footer";
import Sidebar from "@/components/layouts/components/sidebar";

Check failure on line 6 in src/components/layouts/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-deploy

Already included file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/sidebar/index.tsx' differs from file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/Sidebar/index.tsx' only in casing.
import Header from "@/components/layouts/components/header";

Check failure on line 7 in src/components/layouts/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-deploy

Already included file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/header/index.tsx' differs from file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/Header/index.tsx' only in casing.
import Footer from "@/components/layouts/components/footer";

Check failure on line 8 in src/components/layouts/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-deploy

Already included file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/footer/index.tsx' differs from file name '/home/runner/work/YZ-admin/YZ-admin/src/components/layouts/components/Footer/index.tsx' only in casing.

const { Content } = Layout;

Expand Down

0 comments on commit 28c1d77

Please sign in to comment.