From 51a7ce0827fbf86f7ea971803656dcbc1494a79a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B7=B1=E7=BA=A2?= <948931744@qq.com>
Date: Tue, 28 May 2019 10:27:27 +0800
Subject: [PATCH] =?UTF-8?q?update:=20=E5=85=B3=E9=97=AD=E5=BC=B9=E7=AA=97?=
=?UTF-8?q?=E6=97=B6=E9=94=80=E6=AF=81=E5=AD=90=E5=85=83=E7=B4=A0=EF=BC=8C?=
=?UTF-8?q?=E4=BF=9D=E8=AF=81initialValue=E6=9B=B4=E6=96=B0=E5=B9=B6?=
=?UTF-8?q?=E4=B8=94=E5=85=B3=E9=97=AD=E5=BC=B9=E7=AA=97=E6=97=B6=E6=9C=89?=
=?UTF-8?q?=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/user/index.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/pages/user/index.js b/src/pages/user/index.js
index 66f4a77..a775ad3 100644
--- a/src/pages/user/index.js
+++ b/src/pages/user/index.js
@@ -41,6 +41,7 @@ class User extends PureComponent {
const modalProps = {
item: modalType === 'create' ? {} : currentItem,
visible: modalVisible,
+ destroyOnClose: true,
maskClosable: false,
confirmLoading: loading.effects[`user/${modalType}`],
title: `${
@@ -163,7 +164,7 @@ class User extends PureComponent {
)}
- {modalVisible && }
+
)
}