From 7e6d2290608560b5ec6c836391b42e3ecc03e2f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Wed, 24 Jul 2019 12:52:55 +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/new/CoursesNew.js | 6 +++---
.../modules/courses/shixunHomework/ShixunhomeWorkItem.js | 2 +-
public/react/src/modules/login/LoginDialog.css | 2 +-
public/react/src/modules/login/Trialapplication.js | 2 +-
public/react/src/modules/login/Trialapplicationysl.js | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/public/react/src/modules/courses/new/CoursesNew.js b/public/react/src/modules/courses/new/CoursesNew.js
index 98b790659..1183b59e9 100644
--- a/public/react/src/modules/courses/new/CoursesNew.js
+++ b/public/react/src/modules/courses/new/CoursesNew.js
@@ -132,7 +132,7 @@ class CoursesNew extends Component {
e.preventDefault();
let coursesId = this.props.match.params.coursesId;
- let {is_public} = this.state
+ let {is_public,datatime} = this.state
// console.log(is_public)
if (coursesId != undefined) {
@@ -173,7 +173,7 @@ class CoursesNew extends Component {
// console.log('Received values of form: ', values);
- let {datatime} = this.state;
+
let url = "/courses/" + coursesId + ".json";
axios.put(url, {
course_list_name: values.course,
@@ -227,7 +227,7 @@ class CoursesNew extends Component {
// debugger
//新建
// console.log('Received values of form: ', values);
- let {datatime} = this.state;
+
let url = "/courses.json";
axios.post(url, {
course_list_name: values.course,
diff --git a/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js b/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js
index b4adea17f..61ed59d7b 100644
--- a/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js
+++ b/public/react/src/modules/courses/shixunHomework/ShixunhomeWorkItem.js
@@ -382,7 +382,7 @@ class ShixunhomeWorkItem extends Component{
实训详情
{this.props.isAdminOrCreator()?this.editname(discussMessage.name,discussMessage.homework_id)} className={"btn colorblue ml20 font-16"}>重命名:""}
{/* 设置*/}
- 设置
+ 设置
:""}
diff --git a/public/react/src/modules/login/LoginDialog.css b/public/react/src/modules/login/LoginDialog.css
index 34a711154..c7c357208 100644
--- a/public/react/src/modules/login/LoginDialog.css
+++ b/public/react/src/modules/login/LoginDialog.css
@@ -24,7 +24,7 @@
top: 0px !important;
}
#log_reg_content{
- width:400px !important;
+ width:405px !important;
border-radius:6px;
box-shadow:4px 8px 12px rgba(76,76,76,0.3);
}
diff --git a/public/react/src/modules/login/Trialapplication.js b/public/react/src/modules/login/Trialapplication.js
index ebb4b98c2..313d5bce3 100644
--- a/public/react/src/modules/login/Trialapplication.js
+++ b/public/react/src/modules/login/Trialapplication.js
@@ -406,7 +406,7 @@ class Trialapplication extends Component {
top: 0px !important;
}
#log_reg_content{
- width:400px !important;
+ width:405px !important;
border-radius:40px !important;
box-shadow:4px 8px 12px rgba(76,76,76,0.3);
}
diff --git a/public/react/src/modules/login/Trialapplicationysl.js b/public/react/src/modules/login/Trialapplicationysl.js
index e2afac010..dc9755fbe 100644
--- a/public/react/src/modules/login/Trialapplicationysl.js
+++ b/public/react/src/modules/login/Trialapplicationysl.js
@@ -424,7 +424,7 @@ class Trialapplicationysl extends Component {
top: 0px !important;
}
#log_reg_content{
- width:400px !important;
+ width:405px !important;
border-radius:40px !important;
box-shadow:4px 8px 12px rgba(76,76,76,0.3);
}