From 64caca639487161336e7345f544b1fd6032225b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Thu, 22 Aug 2019 18:35:29 +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
---
.../modules/courses/coursesDetail/CoursesBanner.js | 11 ++++++++---
.../react/src/modules/courses/elearning/Elearning.js | 2 +-
public/react/src/modules/courses/new/Goldsubject.js | 4 ++--
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/public/react/src/modules/courses/coursesDetail/CoursesBanner.js b/public/react/src/modules/courses/coursesDetail/CoursesBanner.js
index 25e85dcf4..3c1d4392e 100644
--- a/public/react/src/modules/courses/coursesDetail/CoursesBanner.js
+++ b/public/react/src/modules/courses/coursesDetail/CoursesBanner.js
@@ -599,7 +599,7 @@ class CoursesBanner extends Component {
onClick={() => this.tojoinclass(1)}>加入课堂
:
this.myyslgradin(1)}>加入课堂
+ onClick={() => this.myyslgradin(1)}>立即加入
)
: ""}
@@ -609,11 +609,16 @@ class CoursesBanner extends Component {
onClick={() => this.tojoinclass(1)}>加入课堂
:
this.myyslgradin(1)}>加入课堂
+ onClick={() => this.myyslgradin(1)}>立即加入
: ""}
{coursedata.course_identity === 6&&coursedata.educoder_teacher===true?
- this.ActionPoll(5)}> 复制课堂 : ""}
+ (
+ excellent===false?
+ this.ActionPoll(5)}> 复制课堂
+ :""
+ )
+ : ""}
{this.props.isStudent()? this.exitclass()}
diff --git a/public/react/src/modules/courses/elearning/Elearning.js b/public/react/src/modules/courses/elearning/Elearning.js
index 26bd35ef8..e107115ae 100644
--- a/public/react/src/modules/courses/elearning/Elearning.js
+++ b/public/react/src/modules/courses/elearning/Elearning.js
@@ -124,7 +124,7 @@ class Elearning extends Component{
axios.get(url).then((response) => {
console.log("精品课堂开发学习");
console.log(response);
- console.log(JSON.stringify(response));
+ // console.log(JSON.stringify(response));
debugger
if (response.data.status === -2) {
this.setState({
diff --git a/public/react/src/modules/courses/new/Goldsubject.js b/public/react/src/modules/courses/new/Goldsubject.js
index c5fba9a1c..7214f46a8 100644
--- a/public/react/src/modules/courses/new/Goldsubject.js
+++ b/public/react/src/modules/courses/new/Goldsubject.js
@@ -327,7 +327,7 @@ class Goldsubject extends Component {
try {
console.log("327");
console.log(datasysl);
- console.log(JSON.stringify(datasysl));
+ // console.log(JSON.stringify(datasysl));
console.log("88887777");
console.log(moment(values.starttime).format("YYYY-MM-DD"));
console.log(moment(values.endtime).format("YYYY-MM-DD"));
@@ -410,7 +410,7 @@ class Goldsubject extends Component {
try {
console.log("提交的ysldatas数据");
console.log(ysldatas);
- console.log(JSON.stringify(ysldatas));
+ // console.log(JSON.stringify(ysldatas));
console.log(moment(values.starttime).format("YYYY-MM-DD"));
console.log(moment(values.endtime).format("YYYY-MM-DD"));
}catch (e) {