Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoubichuan committed Sep 23, 2023
1 parent ddc97b3 commit a2bd0ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/list/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const TableList: React.FC = () => {
/>
{createModalVisible && (
<ModalForm
title="新建规则"
title="新增"
width="400px"
layout={'horizontal'}
visible={createModalVisible}
Expand All @@ -194,13 +194,13 @@ const TableList: React.FC = () => {
}}
>
{templateData.map((item: any) => (
<ProFormText {...item.create} label={item.dataIndex} name={item.title} />
<ProFormText {...item.create} label={item.title} name={item.dataIndex} />
))}
</ModalForm>
)}
{updateModalVisible && (
<ModalForm
title="修改规则"
title="编辑"
width="400px"
layout={'horizontal'}
visible={updateModalVisible}
Expand All @@ -218,7 +218,7 @@ const TableList: React.FC = () => {
initialValues={currentRow}
>
{templateData.map((item: any) => (
<ProFormText {...item.edit} label={item.dataIndex} name={item.title} />
<ProFormText {...item.edit} label={item.title} name={item.dataIndex} />
))}
</ModalForm>
)}
Expand Down

0 comments on commit a2bd0ac

Please sign in to comment.