Commit b5a33747 authored by Aivs's avatar Aivs

fix:添加返回事件

parent c66f10fd
...@@ -120,7 +120,7 @@ const layout = { ...@@ -120,7 +120,7 @@ const layout = {
} }
const testClick=(): void=>{ const testClick=(): void=>{
setCustomInfoEdit(!customInfoEdit) setCustomInfoEdit(!customInfoEdit)
setOpen(true) setOpen(!open)
} }
const labelAdd=(e:any)=>{ const labelAdd=(e:any)=>{
// console.log(e.target.value) // console.log(e.target.value)
...@@ -235,7 +235,7 @@ const layout = { ...@@ -235,7 +235,7 @@ const layout = {
<div className="flex spaceBetween mg20"> <div className="flex spaceBetween mg20">
{ {
!customInfoEdit? <span className='wordKb'>用户看板中心</span>: <span className='wordKb'><LeftOutlined />客户信息</span> !customInfoEdit? <span className='wordKb'>用户看板中心</span>: <span className='wordKb'><LeftOutlined onClick={testClick}/> 客户信息</span>
} }
{ {
!customInfoEdit? <Link to="/findCustom"><Button type="primary" icon={<SearchOutlined />}>查找客户</Button></Link>: !customInfoEdit? <Link to="/findCustom"><Button type="primary" icon={<SearchOutlined />}>查找客户</Button></Link>:
......
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