Commit 87a376ba by zhaochengxiang

搜索资产搜索的问题

parent d0e77f9f
......@@ -213,9 +213,12 @@ const CustomDirectoryModal = (props) => {
<div style={{ maxHeight: 500, overflow: 'auto' }}>
<Checkbox.Group value={checkedValues} onChange={onCheckboxChange}>
{
(filterData||[]).map((item, index) => {
(data||[]).map((item, index) => {
const exsit = (filterData||[]).some(filterItem => filterItem.id === item.id);
return (
<Row key={index}>
<Row key={index} style={{ display: exsit?'':'none' }}>
<Checkbox value={item.id||''}>{item.name||''}</Checkbox>
</Row>
);
......
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