From 242d29bf5e6f4620097a7efda8e14503cadcd12b Mon Sep 17 00:00:00 2001 From: unknown <18119604035@163.com> Date: Mon, 31 Jul 2023 10:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E3=80=81=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../course/compenents/attachment-update.tsx | 1 - src/pages/resource/images/index.tsx | 18 ++++++++++-------- src/pages/resource/videos/index.tsx | 6 +++--- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/pages/course/compenents/attachment-update.tsx b/src/pages/course/compenents/attachment-update.tsx index 8b1ccb1..233d5fe 100644 --- a/src/pages/course/compenents/attachment-update.tsx +++ b/src/pages/course/compenents/attachment-update.tsx @@ -80,7 +80,6 @@ export const CourseAttachmentUpdate: React.FC = ({ message.error("请选择课件"); return; } - console.log(hours); courseAttachment .storeCourseAttachmentMulti(id, hours) diff --git a/src/pages/resource/images/index.tsx b/src/pages/resource/images/index.tsx index f6c9d8f..99d94dc 100644 --- a/src/pages/resource/images/index.tsx +++ b/src/pages/resource/images/index.tsx @@ -183,24 +183,25 @@ const ResourceImagesPage = () => {
- { - resetImageList(); - }} - >
+ { + resetImageList(); + }} + > {selectKey.length > 0 && ( - )} {imageList.length !== 0 && ( <> -
+
diff --git a/src/pages/resource/videos/index.tsx b/src/pages/resource/videos/index.tsx index 4d83e71..4376509 100644 --- a/src/pages/resource/videos/index.tsx +++ b/src/pages/resource/videos/index.tsx @@ -286,11 +286,9 @@ const ResourceVideosPage = () => { resetVideoList(); }} > - -
+
{multiConfig ? (