mirror of
https://github.com/PlayEdu/backend
synced 2025-06-06 15:34:08 +08:00
系统配置子页面
This commit is contained in:
parent
6261c3a57c
commit
6af892c7e5
@ -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),
|
||||
],
|
||||
|
@ -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";
|
||||
|
@ -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>("");
|
@ -56,7 +56,7 @@ const routes: RouteObject[] = [
|
||||
element: <MemberImportPage />,
|
||||
},
|
||||
{
|
||||
path: "/system/index",
|
||||
path: "/system/config/index",
|
||||
element: <SystemIndexPage />,
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user