28 lines
694 B
JavaScript
28 lines
694 B
JavaScript
|
|
import React, { useEffect, useState, useRef } from 'react'
|
||
|
|
import { useLocation } from 'react-router'
|
||
|
|
import { useDispatch, useSelector } from 'react-redux'
|
||
|
|
import { Collapse, DatePicker, Input, Modal, message } from 'antd';
|
||
|
|
import './index.less'
|
||
|
|
import Ybfa from './ybfa'
|
||
|
|
|
||
|
|
|
||
|
|
const Page = ({ showPanels }) => {
|
||
|
|
const dispatch = useDispatch();
|
||
|
|
let mapObj = useSelector(s => s.map.map)
|
||
|
|
|
||
|
|
|
||
|
|
useEffect(() => {
|
||
|
|
}, [])
|
||
|
|
|
||
|
|
|
||
|
|
return (
|
||
|
|
<div className='homePage' style={{ display: !showPanels ? 'none' : 'block' }}>
|
||
|
|
<div className='homePage_rightBox' style={{ display: !showPanels ? 'none' : 'block', padding: '0px' }}>
|
||
|
|
<Ybfa />
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
)
|
||
|
|
}
|
||
|
|
|
||
|
|
export default Page
|