系统配置子页面

This commit is contained in:
none 2023-03-23 15:47:20 +08:00
parent 6261c3a57c
commit 6af892c7e5
5 changed files with 6 additions and 10 deletions

View File

@ -60,7 +60,7 @@ const items = [
"system",
<i className="iconfont icon-icon-setting" />,
[
getItem("系统配置", "/system/index", null, null, null),
getItem("系统配置", "/system/config/index", null, null, null),
getItem("管理人员", "/system/administrator", null, null, null),
getItem("角色配置", "/system/adminroles", null, null, null),
],

View File

@ -6,7 +6,7 @@ export * from "./test";
export * from "./course/index";
export * from "./member/index";
export * from "./member/import";
export * from "./system/index";
export * from "./system/config/index";
export * from "./system/administrator/index";
export * from "./system/adminroles/index";
export * from "./department";

View File

@ -1,7 +1,6 @@
import React, { useState, useEffect } from "react";
import {
Row,
Col,
Form,
Input,
Image,
@ -12,16 +11,13 @@ import {
Checkbox,
Slider,
} from "antd";
import styles from "./index.module.less";
import { appConfig } from "../../api/index";
import { useParams, useNavigate } from "react-router-dom";
import { UploadImageButton } from "../../compenents";
// import styles from "./index.module.less";
import { appConfig } from "../../../api/index";
import { UploadImageButton } from "../../../compenents";
import type { TabsProps } from "antd";
import type { CheckboxChangeEvent } from "antd/es/checkbox";
export const SystemIndexPage: React.FC = () => {
const params = useParams();
const navigate = useNavigate();
const [form] = Form.useForm();
const [loading, setLoading] = useState<boolean>(false);
const [logo, setLogo] = useState<string>("");

View File

@ -56,7 +56,7 @@ const routes: RouteObject[] = [
element: <MemberImportPage />,
},
{
path: "/system/index",
path: "/system/config/index",
element: <SystemIndexPage />,
},
{