itizawa 6 年之前
父節點
當前提交
977f18536b
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/client/js/components/Admin/UserGroupDetail/UserGroupUserFormByInput.jsx

+ 0 - 1
src/client/js/components/Admin/UserGroupDetail/UserGroupUserFormByInput.jsx

@@ -40,7 +40,6 @@ class UserGroupUserFormByInput extends React.Component {
     try {
       await this.props.userGroupDetailContainer.addUserByUsername(userName);
       toastSuccess(`Added "${this.xss.process(userName)}" to "${this.xss.process(this.props.userGroupDetailContainer.state.userGroup.name)}"`);
-      this.setState({ inputUser: '' });
     }
     catch (err) {
       toastError(new Error(`Unable to add "${this.xss.process(userName)}" to "${this.xss.process(this.props.userGroupDetailContainer.state.userGroup.name)}"`));