From e95343fe0ab7df6a17d724f59ac8852b0e7f5498 Mon Sep 17 00:00:00 2001 From: unknown <18119604035@163.com> Date: Mon, 31 Jul 2023 11:06:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E8=A7=86=E9=A2=91=E3=80=81?= =?UTF-8?q?=E8=AF=BE=E4=BB=B6=E7=BB=84=E4=BB=B6=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../upload-courseware-sub/index.tsx | 23 +------------------ src/compenents/upload-video-sub/index.tsx | 23 +------------------ 2 files changed, 2 insertions(+), 44 deletions(-) diff --git a/src/compenents/upload-courseware-sub/index.tsx b/src/compenents/upload-courseware-sub/index.tsx index 0222640..d2d4689 100644 --- a/src/compenents/upload-courseware-sub/index.tsx +++ b/src/compenents/upload-courseware-sub/index.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from "react"; -import { Row, Col, Empty, Table, Pagination } from "antd"; +import { Row, Col, Empty, Table } from "antd"; import type { ColumnsType } from "antd/es/table"; import { resource } from "../../api"; import styles from "./index.module.less"; @@ -192,27 +192,6 @@ export const UploadCoursewareSub = (props: PropsInterface) => { )} - - {videoList.length > 0 && total > 10 && ( - - { - setPage(currentPage); - setSize(currentSize); - }} - defaultCurrent={page} - total={total} - /> - - )} - diff --git a/src/compenents/upload-video-sub/index.tsx b/src/compenents/upload-video-sub/index.tsx index 547b9a9..b9fe6db 100644 --- a/src/compenents/upload-video-sub/index.tsx +++ b/src/compenents/upload-video-sub/index.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from "react"; -import { Row, Col, Empty, Table, Pagination } from "antd"; +import { Row, Col, Empty, Table } from "antd"; import type { ColumnsType } from "antd/es/table"; import { resource } from "../../api"; import styles from "./index.module.less"; @@ -192,27 +192,6 @@ export const UploadVideoSub = (props: PropsInterface) => { )} - - {videoList.length > 0 && total > 10 && ( - - { - setPage(currentPage); - setSize(currentSize); - }} - defaultCurrent={page} - total={total} - /> - - )} -