Commit 16af0617 by zhangleyuan

feat:放开搜索

parent 20415cc3
...@@ -523,7 +523,7 @@ function LeftStructureTree(props) { ...@@ -523,7 +523,7 @@ function LeftStructureTree(props) {
<div className="organization"> <div className="organization">
<div className="search-con"> <div className="search-con">
{/* <Complete/> */} {/* <Complete/> */}
{/* <AutoComplete <AutoComplete
dropdownClassName="certain-category-search-dropdown" dropdownClassName="certain-category-search-dropdown"
dropdownMatchSelectWidth={250} dropdownMatchSelectWidth={250}
allowClear allowClear
...@@ -545,7 +545,7 @@ function LeftStructureTree(props) { ...@@ -545,7 +545,7 @@ function LeftStructureTree(props) {
style={{ width: 250 }} style={{ width: 250 }}
enterButton={<span className='icon iconfont'>&#xe832;</span>} enterButton={<span className='icon iconfont'>&#xe832;</span>}
/> />
</AutoComplete> */} </AutoComplete>
</div> </div>
{(props.treeType === 'postGrouptab' || props.treeType === 'customGroupTab') && ( {(props.treeType === 'postGrouptab' || props.treeType === 'customGroupTab') && (
<div className="operate"> <div className="operate">
......
...@@ -64,7 +64,6 @@ function MemberTree(props) { ...@@ -64,7 +64,6 @@ function MemberTree(props) {
_selectNodes.push(item); _selectNodes.push(item);
} }
}) })
console.log('_selectNodes',_selectNodes);
props.onSelect(_selectNodes); props.onSelect(_selectNodes);
} }
return ( return (
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
} }
} }
.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before, .ant-tree.ant-tree-directory .ant-tree-treenode-selected::before{ .ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before, .ant-tree.ant-tree-directory .ant-tree-treenode-selected::before{
background: none; background:transparent;
}
.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher{
color:#000;
} }
} }
\ No newline at end of file
...@@ -58,14 +58,13 @@ function SearchUser(props) { ...@@ -58,14 +58,13 @@ function SearchUser(props) {
}; };
return ( return (
<div className="search-user" style={{width:'300px'}} id="search-user"> <div className="search-user" style={{width:'300px'}} id="search-user">
{/* <Search <Search
placeholder='搜索成员' placeholder='搜索成员'
enterButton={<span className="icon iconfont">&#xe832;</span>} enterButton={<span className="icon iconfont">&#xe832;</span>}
onFocus={(e)=>{onFocus(e)}} onFocus={(e)=>{onFocus(e)}}
onChange={(e)=>{onChange(e)}} onChange={(e)=>{onChange(e)}}
className="search-input-item" className="search-input-item"
// onBlur={()=>{onBlur()}} />
/> */}
{dropDownVisible && {dropDownVisible &&
<div className="drop-down"> <div className="drop-down">
<div className="drop-down__list"> <div className="drop-down__list">
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
} }
.container-left-body-table{ .container-left-body-table{
width: 300px; width: 300px;
height: 330px; max-height: 380px;
overflow: scroll; overflow: scroll;
.ant-table { .ant-table {
border: none; border: none;
......
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