Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
85867aec
authored
Feb 26, 2020
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
page
parent
91de653d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/store/modules/sample/index.js
src/views/sample/sample.vue
src/store/modules/sample/index.js
View file @
85867aec
...
...
@@ -91,7 +91,7 @@ const actions = {
let
obj
=
{
...
payload
.
params
,
'offset'
:
3
,
'offset'
:
10
,
'sample_status/eq'
:
1
,
};
...
...
@@ -109,7 +109,7 @@ const actions = {
let
totalPage
=
0
;
if
(
data
.
data
.
total
)
{
totalPage
=
Math
.
ceil
(
data
.
data
.
total
*
1
/
3
);
totalPage
=
Math
.
ceil
(
data
.
data
.
total
*
1
/
10
);
}
if
(
payload
.
params
.
p
>=
totalPage
||
!
totalPage
)
{
...
...
src/views/sample/sample.vue
View file @
85867aec
...
...
@@ -268,7 +268,7 @@
type
:
"ziYingIndex"
,
params
:
params
});
},
5
00
)
},
1
00
)
},
getuserf
()
{
...
...
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