From 6753b9f5d7c72d2e9176fde1c81bf5996728240b Mon Sep 17 00:00:00 2001 From: annzhang Date: Mon, 22 Feb 2021 15:18:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(permissions):=20=E5=90=88=E5=B9=B6=E4=B8=A4?= =?UTF-8?q?=E4=B8=AAsetState?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/permission-utils/src/components/CommonSetting.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/permission-utils/src/components/CommonSetting.tsx b/libs/permission-utils/src/components/CommonSetting.tsx index 2cc909a24..496c9f96e 100644 --- a/libs/permission-utils/src/components/CommonSetting.tsx +++ b/libs/permission-utils/src/components/CommonSetting.tsx @@ -251,8 +251,8 @@ export class CommonSetting extends React.Component< this.batchHandlePermChange([record.data.action]); this.setState({ batchType: "add", + showAddUser: true, }); - this.setState({ showAddUser: true }); }; // 保存为单个权限添加用户 handleStoreSingleAddUser = () => {