Commit 1819e76f authored by tjy's avatar tjy

调整新建会员

parent c32f4ffa
......@@ -30,6 +30,7 @@
"@umijs/test": "^3.2.0",
"bizcharts": "^4.0.7",
"god": "0.1.7",
"god-tool": "^2.2.0",
"lint-staged": "^10.0.7",
"mobx": "^5.15.4",
"mobx-react": "^6.2.2",
......
This diff is collapsed.
This diff is collapsed.
......@@ -169,7 +169,12 @@ const memberImport: React.FC<{}> = () => {
const handleSearch = () => { }
const handleReset = () => { }
const handleReset = () => {
for (let key in searchForm) {
searchForm[key] = ''
}
setSearchForm({ ...searchForm })
}
const handleMenuClick = (e: any) => {
console.log('menu', e);
......@@ -317,62 +322,6 @@ const memberImport: React.FC<{}> = () => {
}
/>
</Card>
{/* formilyLayouts={{
justify: 'space-between'
}}
formilyProps={{
layouts: {
order: 1,
span: 4
},
ctx: {
inline: false,
schema: {
type: 'object',
properties: {
megaLayout0: {
type: 'object',
'x-component': 'mega-layout',
'x-component-props': {
grid: true,
columns: 2,
},
properties: {
name: {
type: 'string',
'x-component': 'Search',
'x-component-props': {
placeholder: '请输入'
}
}
}
}
}
}
}
}}
formilyChilds={
{
children: (
<>
<Button
type='primary'
onClick={() => history.push('/memberCenter/memberAbility/manage/addMember')}
>
<PlusOutlined />新建
</Button>
<Button className={style.importBtn}>导入</Button>
<Dropdown.Button
overlay={menu}
trigger={['click']}
icon={<DownOutlined />}
>
更多
</Dropdown.Button>
</>
)
}
} */}
</PageHeaderWrapper >
)
}
......
......@@ -330,7 +330,6 @@ const memberMaintain: React.FC<[]> = () => {
searchForm[key] = ''
}
setSearchForm({ ...searchForm })
console.log('reset', searchForm)
}
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment