From b91de09c0ca5d35abf7ecb69afaeb20f98e935e7 Mon Sep 17 00:00:00 2001 From: unknown <18119604035@163.com> Date: Sat, 29 Jul 2023 16:25:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=AF=A6=E6=83=85=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=AF=BE=E4=BB=B6=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/course/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/course/index.tsx b/src/pages/course/index.tsx index f661566..e0d5cd0 100644 --- a/src/pages/course/index.tsx +++ b/src/pages/course/index.tsx @@ -8,12 +8,12 @@ import { HourCompenent } from "./compenents/hour"; import { Empty } from "../../compenents"; import iconRoute from "../../assets/images/commen/icon-route.png"; -interface tabModal { +type tabModal = { key: number; label: string; -} +}; -interface attachModal { +type attachModal = { id: number; course_id: number; rid: number; @@ -21,7 +21,7 @@ interface attachModal { title: string; type: string; url?: string; -} +}; const CoursePage = () => { const params = useParams();