去除各资源选择器中上传资源的按钮

This commit is contained in:
unknown 2024-01-25 10:11:17 +08:00
parent 09d2051c19
commit b257fa8e30
2 changed files with 1 additions and 14 deletions

View File

@ -3,7 +3,7 @@ import { Row, Col, Empty, Table, Spin, Typography, Input, Button } from "antd";
import type { ColumnsType } from "antd/es/table"; import type { ColumnsType } from "antd/es/table";
import { resource } from "../../api"; import { resource } from "../../api";
import styles from "./index.module.less"; import styles from "./index.module.less";
import { TreeCategory, UploadCoursewareButton } from "../../compenents"; import { TreeCategory } from "../../compenents";
interface VideoItem { interface VideoItem {
id: number; id: number;
@ -181,12 +181,6 @@ export const UploadCoursewareSub = (props: PropsInterface) => {
<Col span={17}> <Col span={17}>
<Row style={{ marginBottom: 24, paddingLeft: 10 }}> <Row style={{ marginBottom: 24, paddingLeft: 10 }}>
<div className="float-left j-b-flex"> <div className="float-left j-b-flex">
<UploadCoursewareButton
categoryIds={category_ids}
onUpdate={() => {
resetVideoList();
}}
></UploadCoursewareButton>
<div className="d-flex"> <div className="d-flex">
<div className="d-flex mr-24"> <div className="d-flex mr-24">
<Typography.Text></Typography.Text> <Typography.Text></Typography.Text>

View File

@ -3,7 +3,6 @@ import { Row, Col, Empty, Table, Spin, Typography, Input, Button } from "antd";
import type { ColumnsType } from "antd/es/table"; import type { ColumnsType } from "antd/es/table";
import { resource } from "../../api"; import { resource } from "../../api";
import styles from "./index.module.less"; import styles from "./index.module.less";
import { UploadVideoButton } from "../upload-video-button";
import { DurationText, TreeCategory } from "../../compenents"; import { DurationText, TreeCategory } from "../../compenents";
interface VideoItem { interface VideoItem {
@ -173,12 +172,6 @@ export const UploadVideoSub = (props: PropsInterface) => {
<Col span={17}> <Col span={17}>
<Row style={{ marginBottom: 24, paddingLeft: 10 }}> <Row style={{ marginBottom: 24, paddingLeft: 10 }}>
<div className="float-left j-b-flex"> <div className="float-left j-b-flex">
<UploadVideoButton
categoryIds={category_ids}
onUpdate={() => {
resetVideoList();
}}
></UploadVideoButton>
<div className="d-flex"> <div className="d-flex">
<div className="d-flex mr-24"> <div className="d-flex mr-24">
<Typography.Text></Typography.Text> <Typography.Text></Typography.Text>