|
5 | 5 | */
|
6 | 6 |
|
7 | 7 | importReactfrom'react'
|
| 8 | +import{OverlayScrollbarsComponent}from'overlayscrollbars-react' |
8 | 9 |
|
9 | 10 | import{TYPE}from'@constant'
|
10 | 11 | import{connectStore,buildLog}from'@utils'
|
@@ -64,16 +65,20 @@ const UserListerContainer = ({ userLister }) => {
|
64 | 65 |
|
65 | 66 | return(
|
66 | 67 | <Modalwidth="700px"show={show}showCloseBtnonClose={onClose}>
|
67 |
| -<Wrapperid="userlist-scroller"> |
68 |
| -<HeaderInfo |
69 |
| -type={type} |
70 |
| -brief={brief} |
71 |
| -totalCount={pagedUsersData.totalCount} |
72 |
| -curCommunity={curCommunity} |
73 |
| -/> |
| 68 | +<OverlayScrollbarsComponent |
| 69 | +options={{scrollbars:{autoHide:'scroll',autoHideDelay:200}}} |
| 70 | +> |
| 71 | +<Wrapper> |
| 72 | +<HeaderInfo |
| 73 | +type={type} |
| 74 | +brief={brief} |
| 75 | +totalCount={pagedUsersData.totalCount} |
| 76 | +curCommunity={curCommunity} |
| 77 | +/> |
74 | 78 |
|
75 |
| -{renderContent(curView,pagedUsersData,accountInfo)} |
76 |
| -</Wrapper> |
| 79 | +{renderContent(curView,pagedUsersData,accountInfo)} |
| 80 | +</Wrapper> |
| 81 | +</OverlayScrollbarsComponent> |
77 | 82 | </Modal>
|
78 | 83 | )
|
79 | 84 | }
|
|