Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj_app
sass-admin
Commits
e8d740e5
Commit
e8d740e5
authored
Apr 28, 2025
by
yanglang123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改banner数量为10
parent
a61240e7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dist.zip
+0
-0
src/pages/SystemManagement/Site/Door/indexPage/mobilePlugin/banner.jsx
+3
-3
No files found.
dist.zip
View file @
e8d740e5
No preview for this file type
src/pages/SystemManagement/Site/Door/indexPage/mobilePlugin/banner.jsx
View file @
e8d740e5
...
...
@@ -276,7 +276,7 @@ class Banner extends Component {
componentWillReceiveProps
(
nextProps
)
{
if
(
this
.
props
!=
nextProps
)
{
let
{
ListBanner
=
[]
}
=
this
.
props
;
ListBanner
.
splice
(
6
);
ListBanner
.
splice
(
10
);
ListBanner
=
ListBanner
.
map
((
itme
,
index
)
=>
Object
.
assign
(
itme
,
{
index
})
);
...
...
@@ -353,7 +353,7 @@ class Banner extends Component {
render
()
{
const
{
switchState
,
inputNum
,
pcAccessId
}
=
this
.
state
;
let
{
ListBanner
=
[]
}
=
this
.
props
;
ListBanner
.
splice
(
6
);
ListBanner
.
splice
(
10
);
ListBanner
=
ListBanner
.
map
((
itme
,
index
)
=>
Object
.
assign
(
itme
,
{
index
})
);
...
...
@@ -378,7 +378,7 @@ class Banner extends Component {
},
getCheckboxProps
:
record
=>
({
disabled
:
this
.
state
.
selectedRowKeys
.
length
===
6
&&
this
.
state
.
selectedRowKeys
.
indexOf
(
record
.
id
)
===
-
1
disabled
:
this
.
state
.
selectedRowKeys
.
length
===
10
&&
this
.
state
.
selectedRowKeys
.
indexOf
(
record
.
id
)
===
-
1
}),
};
...
...
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