|
@ -28,7 +28,7 @@ function Network(props) { |
|
|
useEffect(() => { |
|
|
useEffect(() => { |
|
|
dispatch(projectRegime.getProjectList()).then(res => { |
|
|
dispatch(projectRegime.getProjectList()).then(res => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
const dp = res.payload.data?.rows?.map(item => { |
|
|
const dp = res.payload.data?.rows?.filter(i=>i.type==='管廊')?.map(item => { |
|
|
return { |
|
|
return { |
|
|
label: item?.name, |
|
|
label: item?.name, |
|
|
id: item?.id, |
|
|
id: item?.id, |
|
|