rht
This commit is contained in:
parent
853303a726
commit
66cf6eab99
|
@ -1,5 +1,5 @@
|
|||
import CodeManageSearchBase from "./CodeManageSearchBase";
|
||||
import CodeManageDisplay from "./CodeMangeDisplay";
|
||||
import CodeManageSearchBase from "./components/CodeManageSearchBase";
|
||||
import CodeManageDisplay from "./components/CodeMangeDisplay";
|
||||
export default function CodeManageLayout() {
|
||||
return (
|
||||
<div className="max-w-[1100px] mx-auto h-[100vh]">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { message, Modal, Pagination } from "antd";
|
||||
import ShareCodeList from "./ShareCodeList";
|
||||
import { useCodeManageContext } from "./CodeManageContext";
|
||||
import ShareCodeList from "../ShareCodeList";
|
||||
import { useCodeManageContext } from "../CodeManageContext";
|
||||
import { useEffect, useState } from "react";
|
||||
import { ExclamationCircleFilled } from "@ant-design/icons";
|
||||
import CodeManageEdit from "./CodeManageEdit";
|
|
@ -6,7 +6,7 @@ import { env } from '../../../env'
|
|||
import { TusUploader } from "@web/src/components/common/uploader/TusUploader";
|
||||
import { useState } from "react";
|
||||
const { TabPane } = Tabs;
|
||||
export default function DeptSettingPage() {
|
||||
export default function QuickUploadPage() {
|
||||
const [form] = Form.useForm();
|
||||
const uploadFileId = Form.useWatch(["file"], form)?.[0]
|
||||
const [isGetingFileId, setIsGetingFileId] = useState(false);
|
|
@ -6,11 +6,11 @@ import {
|
|||
useParams,
|
||||
} from "react-router-dom";
|
||||
import ErrorPage from "../app/error";
|
||||
import DeptSettingPage from "../app/admin/deptsettingpage/page";
|
||||
import LoginPage from "../app/login";
|
||||
import WithAuth from "../components/utils/with-auth";
|
||||
import { CodeManageProvider } from "../app/admin/code-manage/CodeManageContext";
|
||||
import CodeManageLayout from "../app/admin/code-manage/CodeManageLayout";
|
||||
import QuickUploadPage from "../app/admin/quick-file/page";
|
||||
interface CustomIndexRouteObject extends IndexRouteObject {
|
||||
name?: string;
|
||||
breadcrumb?: string;
|
||||
|
@ -34,7 +34,7 @@ export type CustomRouteObject =
|
|||
export const routes: CustomRouteObject[] = [
|
||||
{
|
||||
path: "/",
|
||||
element: <DeptSettingPage></DeptSettingPage>,
|
||||
element: <QuickUploadPage></QuickUploadPage>,
|
||||
errorElement: <ErrorPage />,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue