From d33eca5486fb518e2ddd06336dde6934862d6224 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Sun, 28 Jul 2019 10:12:04 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/modules/courses/ListPageIndex.js | 2 +-
public/react/src/modules/user/LoginRegisterComponent.js | 3 +++
public/react/src/modules/user/Notcompletedysl.js | 3 +++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/public/react/src/modules/courses/ListPageIndex.js b/public/react/src/modules/courses/ListPageIndex.js
index 95342bb13..9f12f6434 100644
--- a/public/react/src/modules/courses/ListPageIndex.js
+++ b/public/react/src/modules/courses/ListPageIndex.js
@@ -103,7 +103,7 @@ class ListPageIndex extends Component{
{/*头部banner*/}
-
+
{/*{yslGuideone===null||yslGuideone===undefined||yslGuideone===false?*/}
{/* (*/}
{/* this.props.isAdmin()===true?*/}
diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js
index eb0a3a5c2..ebb099b2e 100644
--- a/public/react/src/modules/user/LoginRegisterComponent.js
+++ b/public/react/src/modules/user/LoginRegisterComponent.js
@@ -359,6 +359,9 @@ class LoginRegisterComponent extends Component {
if(weekArray===undefined){
weekArray="/";
}
+ if(weekArray===null){
+ weekArray="/";
+ }
window.location.href = weekArray;
}
}
diff --git a/public/react/src/modules/user/Notcompletedysl.js b/public/react/src/modules/user/Notcompletedysl.js
index 8f147957a..5f180af48 100644
--- a/public/react/src/modules/user/Notcompletedysl.js
+++ b/public/react/src/modules/user/Notcompletedysl.js
@@ -37,6 +37,9 @@ class Notcompletedysl extends Component {
if(weekArray===undefined){
weekArray="/";
}
+ if(weekArray===null){
+ weekArray="/";
+ }
window.location.href = weekArray;
}