From 840c7ae0e1090b2769f2c61b63d49265b0d8f143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 24 Aug 2019 17:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=85=AC=E5=91=8A?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/gradinforms/Bullsubdirectory.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js index 09fb43a23..1776c965d 100644 --- a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js +++ b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js @@ -37,7 +37,13 @@ class Bullsubdirectory extends Component{ id:id, eduintits:myname, description:mydescription, + }) + if(myname!=undefined){ + this.setState({ + addonAfter:myname.length + }) + } }