创建按钮显示
This commit is contained in:
parent
31423757b7
commit
7a4f48fde9
@ -426,7 +426,7 @@ export default function BelongPeople(props: propsInfo) {
|
|||||||
authorType: 'ORGANIZATION',
|
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>
|
</Button>
|
||||||
<div className='belongPeople-search'>
|
<div className='belongPeople-search'>
|
||||||
|
@ -8,7 +8,6 @@ import { IndexListDataType, IndexListDispatchContext, } from "../../context/Inde
|
|||||||
import { Input, MenuProps, Modal } from "antd";
|
import { Input, MenuProps, Modal } from "antd";
|
||||||
import srcImg from '../../static/left/src.png'
|
import srcImg from '../../static/left/src.png'
|
||||||
import newImg from '../../static/left/new.png'
|
import newImg from '../../static/left/new.png'
|
||||||
|
|
||||||
type ProjCategoryDTO = {
|
type ProjCategoryDTO = {
|
||||||
projCategoryId: string;
|
projCategoryId: string;
|
||||||
projCategoryParentId: string;
|
projCategoryParentId: string;
|
||||||
|
@ -28,7 +28,7 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) {
|
|||||||
return m
|
return m
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}, [])
|
}, [getMenuActive()])
|
||||||
|
|
||||||
const list = menuItem.map((item, index) => (
|
const list = menuItem.map((item, index) => (
|
||||||
// 创建项目下三个选项
|
// 创建项目下三个选项
|
||||||
|
@ -24,7 +24,7 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) {
|
|||||||
return m
|
return m
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}, [])
|
}, [getMenuActive()])
|
||||||
|
|
||||||
const list = menuItem.map((item, index) => (
|
const list = menuItem.map((item, index) => (
|
||||||
// 创建项目下三个选项
|
// 创建项目下三个选项
|
||||||
@ -53,7 +53,7 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) {
|
|||||||
// 当点击创建时其他按钮默认为不被选中
|
// 当点击创建时其他按钮默认为不被选中
|
||||||
// props.list.forEach(item => item.active = false);
|
// props.list.forEach(item => item.active = false);
|
||||||
// console.log(props.list);
|
// console.log(props.list);
|
||||||
|
// setMenuActive('ALL')
|
||||||
}}>
|
}}>
|
||||||
<img src={newImg} alt="" />
|
<img src={newImg} alt="" />
|
||||||
<div>创建</div>
|
<div>创建</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user