From ee6d0ee4aef0c5f690d748e4c1c7fee5e844b5dd Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Thu, 20 Jun 2019 17:06:27 +0800
Subject: [PATCH] =?UTF-8?q?=E9=80=89=E9=A2=98=E6=96=B0=E5=BB=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../courses/graduation/topics/GraduateTopicNew.js | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js
index 876f2e4d0..7c0811615 100644
--- a/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js
+++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js
@@ -38,7 +38,7 @@ class GraduateTopicNew extends Component{
topic_source:[],
topic_type:[],
attachments:undefined,
- addonAfter:20,
+ addonAfter:60,
left_banner_id:undefined,
course_name:undefined
}
@@ -257,7 +257,7 @@ class GraduateTopicNew extends Component{
// 附件相关 ------------ END
changeTopicName=(e)=>{
- let num= 20 - parseInt(e.target.value.length);
+ let num= 60 - parseInt(e.target.value.length);
this.setState({
addonAfter:num < 0 ? 0 : num
})
@@ -357,10 +357,10 @@ class GraduateTopicNew extends Component{
rules: [{
required: true, message: '请输入选题名称',
}, {
- max: 20, message: '最大限制为20个字符',
+ max: 60, message: '最大限制为60个字符',
}],
})(
-
+
)}
@@ -381,6 +381,9 @@ class GraduateTopicNew extends Component{
width: 350px;
margin-bottom:10px;
}
+ .ant-upload-list-item{
+ margin-top:0px!important;
+ }
`}