From 2d3a3ae9c81e697584d9b0154815b3eba2a1da09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 13 Mar 2020 18:48:11 +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 --- .../react/src/modules/courses/signin/model/Createsignmodel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/react/src/modules/courses/signin/model/Createsignmodel.js b/public/react/src/modules/courses/signin/model/Createsignmodel.js index 9f3412cf2..ade031ef2 100644 --- a/public/react/src/modules/courses/signin/model/Createsignmodel.js +++ b/public/react/src/modules/courses/signin/model/Createsignmodel.js @@ -83,7 +83,7 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })( if (response.data.status == 0) { this.props.showNotification(`创建签到成功`); this.setState({ - type:true + type:false }) hideCreatesign() settabsdata() @@ -165,6 +165,7 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })( closable={false} footer={null} width={600} + destroyOnClose={true} >