页面搭建
parent
a697614a07
commit
7e93e1131e
|
|
@ -28,7 +28,7 @@ const ToolBar = ({ setSearchVal, onSave, storeData, role }) => {
|
|||
<div style={{display:'flex',justifyContent:'space-between'}}>
|
||||
<Form form={form} className='toolbarBox' layout="inline" onFinish={onFinish}>
|
||||
{
|
||||
(onSave && addBtn) ?
|
||||
(onSave) ?
|
||||
<Form.Item>
|
||||
<Button onClick={onSave} type='primary'>新增</Button>
|
||||
</Form.Item>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ const ToolBar = ({ setSearchVal, onSave, storeData, role }) => {
|
|||
<div style={{display:'flex',justifyContent:'space-between'}}>
|
||||
<Form form={form} className='toolbarBox' layout="inline" onFinish={onFinish}>
|
||||
{
|
||||
(onSave && addBtn) ?
|
||||
(onSave) ?
|
||||
<Form.Item>
|
||||
<Button onClick={onSave} type='primary'>新增</Button>
|
||||
</Form.Item>
|
||||
|
|
|
|||
Loading…
Reference in New Issue