diff --git a/src/routes/Forms/BasicForm.js b/src/routes/Forms/BasicForm.js index a5126a6a7dd7b5f1852f9816aa3c0c18b29b70d2..03f154bfe94493f6e8d7540ad189efe278ca053b 100644 --- a/src/routes/Forms/BasicForm.js +++ b/src/routes/Forms/BasicForm.js @@ -156,21 +156,23 @@ export default class BasicForms extends PureComponent { 不公开 )} - {getFieldDecorator('publicUsers', { - })( - - )} + + {getFieldDecorator('publicUsers', { + })( + + )} + diff --git a/src/routes/List/TableList.js b/src/routes/List/TableList.js index df99267045acdcc539fc7eba2cc3e3aa84665a3b..7527a5853a2559e78e1ded716f13c8ba9c7dbb43 100644 --- a/src/routes/List/TableList.js +++ b/src/routes/List/TableList.js @@ -59,6 +59,9 @@ export default class TableList extends PureComponent { handleFormReset = () => { const { form, dispatch } = this.props; form.resetFields(); + this.setState({ + formValues: {}, + }); dispatch({ type: 'rule/fetch', payload: {},