Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
2017-03-30 11:33:21 +0800
Commit
673625be29a920ee1bb30900340d079e265aed81
2 parents
5ae4f6bb
8cffcbe2
Merge branch 'hotfix/salePage' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
package.json
utils/pager.js
package.json
View file @
673625b
...
...
@@ -62,7 +62,7 @@
"gulp-ftp"
:
"^1.1.0"
,
"gulp-postcss"
:
"^6.1.0"
,
"gulp-rename"
:
"^1.2.2"
,
"gulp-sourcemaps"
:
"
^
2.0.0-alpha"
,
"gulp-sourcemaps"
:
"2.0.0-alpha"
,
"gulp-util"
:
"^3.0.7"
,
"handlebars-loader"
:
"^1.4.0"
,
"husky"
:
"^0.11.4"
,
...
...
utils/pager.js
View file @
673625b
...
...
@@ -107,7 +107,7 @@ exports.setPager = (total, params)=>{
},
{
num
:
'...'
},
pages
);
}
else
{
pages
=
_
.
concat
({
url
:
'?page=1'
,
url
:
joinUrl
(
Object
.
assign
(
params
,
{
page
:
1
}))
,
num
:
1
},
pages
);
}
...
...
Please
register
or
login
to post a comment