Browse Source
💩 code: deleted a redundant line of code and changed a mistake (#6197)
pull/6210/head
tongkunLiu
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
3 deletions
-
src/pages/ListTableList/components/UpdateForm.tsx
-
src/pages/ListTableList/index.tsx
|
|
|
@ -186,8 +186,7 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => { |
|
|
|
title="规则配置" |
|
|
|
visible={updateModalVisible} |
|
|
|
footer={renderFooter()} |
|
|
|
onCancel={() => handleUpdateModalVisible(false, values)} |
|
|
|
afterClose={() => handleUpdateModalVisible()} |
|
|
|
onCancel={() => handleUpdateModalVisible()} |
|
|
|
> |
|
|
|
<Steps style={{ marginBottom: 28 }} size="small" current={currentStep}> |
|
|
|
<Step title="基本信息" /> |
|
|
|
|
|
|
|
@ -216,7 +216,7 @@ const TableList: React.FC<{}> = () => { |
|
|
|
onSubmit={async (value) => { |
|
|
|
const success = await handleUpdate(value); |
|
|
|
if (success) { |
|
|
|
handleModalVisible(false); |
|
|
|
handleUpdateModalVisible(false); |
|
|
|
setStepFormValues({}); |
|
|
|
if (actionRef.current) { |
|
|
|
actionRef.current.reload(); |
|
|
|
|