创建按钮显示

This commit is contained in:
xixi 2024-06-19 14:18:16 +08:00
parent 31423757b7
commit 7a4f48fde9
4 changed files with 4 additions and 5 deletions

View File

@ -426,7 +426,7 @@ export default function BelongPeople(props: propsInfo) {
authorType: 'ORGANIZATION',
})
}} type="primary" icon={<FolderAddOutlined style={{ fontSize: '18px' }} />} style={{ width: "160px", height: '43px', fontSize: '14px', display: props.isShow ? 'block' : 'none' }}>
}} type="primary" icon={<FolderAddOutlined style={{ fontSize: '18px' }} />} style={{ width: "160px", height: '43px', fontSize: '14px'}}>
</Button>
<div className='belongPeople-search'>

View File

@ -8,7 +8,6 @@ import { IndexListDataType, IndexListDispatchContext, } from "../../context/Inde
import { Input, MenuProps, Modal } from "antd";
import srcImg from '../../static/left/src.png'
import newImg from '../../static/left/new.png'
type ProjCategoryDTO = {
projCategoryId: string;
projCategoryParentId: string;

View File

@ -28,7 +28,7 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) {
return m
})
)
}, [])
}, [getMenuActive()])
const list = menuItem.map((item, index) => (
// 创建项目下三个选项

View File

@ -24,7 +24,7 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) {
return m
})
)
}, [])
}, [getMenuActive()])
const list = menuItem.map((item, index) => (
// 创建项目下三个选项
@ -53,7 +53,7 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) {
// 当点击创建时其他按钮默认为不被选中
// props.list.forEach(item => item.active = false);
// console.log(props.list);
// setMenuActive('ALL')
}}>
<img src={newImg} alt="" />
<div></div>