Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
ecbf51d8
Commit
ecbf51d8
authored
Jan 13, 2021
by
tianfen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改横向滚动条
parent
24791fbc
Pipeline
#22332
skipped with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
index.js
src/components/BasePageContainer/index.js
+1
-0
index.less
src/components/BasePageContainer/index.less
+10
-0
SiteManage.jsx
src/pages/userCenter/siteManage/SiteManage.jsx
+4
-5
SiteManage.less
src/pages/userCenter/siteManage/SiteManage.less
+2
-2
No files found.
src/components/BasePageContainer/index.js
View file @
ecbf51d8
import
{
PageContainer
}
from
'@ant-design/pro-layout'
;
import
React
from
'react'
;
import
'./index.less'
;
const
BasePageContainer
=
props
=>
{
const
{
children
,
...
rest
}
=
props
;
...
...
src/components/BasePageContainer/index.less
0 → 100644
View file @
ecbf51d8
.ant-pro-basicLayout-content .ant-pro-page-container{
margin:0
}
.ant-pro-page-container-children-content{
margin:0
}
.ant-layout .ant-layout-content{
margin: 0px !important;
}
\ No newline at end of file
src/pages/userCenter/siteManage/SiteManage.jsx
View file @
ecbf51d8
...
...
@@ -158,7 +158,7 @@ const SiteManage = props => {
};
if
(
name
)
params
=
{
...
params
,
name
};
groupUserPagingList
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
&&
res
.
data
)
{
let
{
list
}
=
res
.
data
;
// 还原选择的数据
if
(
selectList
.
length
>
0
)
{
...
...
@@ -182,6 +182,9 @@ const SiteManage = props => {
handleShowModal
(
'loading'
,
false
);
setdataList
(
lodash
.
cloneDeep
(
list
));
setTotal
(
res
.
data
.
TotalCount
);
}
else
{
handleShowModal
(
'loading'
,
false
);
setdataList
(
lodash
.
cloneDeep
([]));
}
});
};
...
...
@@ -375,8 +378,6 @@ const SiteManage = props => {
};
return
(
<
PageContainer
>
{
/* <Row>
<Col span={mulu ? 4 : 0}> */
}
<
div
className=
{
styles
.
content
}
>
<
Card
className=
{
classnames
({
...
...
@@ -573,8 +574,6 @@ const SiteManage = props => {
</
div
>
</
div
>
</
div
>
{
/* </Col>
</Row> */
}
</
PageContainer
>
);
};
...
...
src/pages/userCenter/siteManage/SiteManage.less
View file @
ecbf51d8
...
...
@@ -29,8 +29,8 @@
border-bottom: 1px solid #ccc;
}
.cardBoxR{
min-height: calc(100vh - 2
0
0px);
max-height: calc(100vh - 2
0
0px);
min-height: calc(100vh - 2
1
0px);
max-height: calc(100vh - 2
1
0px);
min-width: 600px;
overflow-y: scroll;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment