From 12a0bcaf4555a8322adb3a88943ad9a0231a74eb Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Sat, 22 Jun 2019 14:13:05 +0800
Subject: [PATCH] =?UTF-8?q?=E6=AF=95=E8=AE=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/modules/courses/Index.js | 8 ++++----
.../react/src/modules/courses/ListPageIndex.js | 18 +++++++++++++++++-
.../modules/courses/graduation/tasks/index.js | 4 ++--
.../modules/courses/graduation/topics/index.js | 4 ++--
4 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/public/react/src/modules/courses/Index.js b/public/react/src/modules/courses/Index.js
index 840d1d617..3dcdb1c18 100644
--- a/public/react/src/modules/courses/Index.js
+++ b/public/react/src/modules/courses/Index.js
@@ -491,9 +491,9 @@ class CoursesIndex extends Component{
>
{/* 毕设选题列表 */}
- ()
+ (props) => ()
}>
@@ -559,9 +559,9 @@ class CoursesIndex extends Component{
{/* 毕设任务列表 https://www.trustie.net/issues/19981 */}
- ()
+ (props) => ()
}
>
diff --git a/public/react/src/modules/courses/ListPageIndex.js b/public/react/src/modules/courses/ListPageIndex.js
index abb8a8528..1f8bf6b29 100644
--- a/public/react/src/modules/courses/ListPageIndex.js
+++ b/public/react/src/modules/courses/ListPageIndex.js
@@ -56,6 +56,14 @@ const ShixunHomework= Loadable({
loading: Loading,
})
+const GraduationTopics= Loadable({
+ loader: () => import('./graduation/topics'),
+ loading: Loading,
+})
+const GraduationTasks= Loadable({
+ loader: () => import('./graduation/tasks'),
+ loading: Loading,
+})
class ListPageIndex extends Component{
constructor(props) {
super(props)
@@ -181,7 +189,15 @@ class ListPageIndex extends Component{
}
>
-
+ ()
+ }>
+ ()
+ }
+ >
{/* 默认 */}
+
{/*提示*/}
-
+
)
}
}
diff --git a/public/react/src/modules/courses/graduation/topics/index.js b/public/react/src/modules/courses/graduation/topics/index.js
index aaba86e9e..391bcac18 100644
--- a/public/react/src/modules/courses/graduation/topics/index.js
+++ b/public/react/src/modules/courses/graduation/topics/index.js
@@ -341,7 +341,7 @@ onBoardsNew=()=>{
// let {course_identity}=this.props.coursedata
const isAdmin =this.props.isAdmin();
return(
-
+
{
-
+
)
}
}