Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
7 years ago
Commit
b719d07533625eb31f5a7d8b2b30a39cb43d737c
1 parent
bded0929
lazyload 优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
public/js/plugin/img-src-handle.js
public/js/plugin/img-src-handle.js
View file @
b719d07
...
...
@@ -27,7 +27,7 @@ const imgSrcHandle = (imgUrl, params) => {
url
+=
extQuery
;
}
imgUrl
=
url
;
}
else
if
(
/imageView
2/
.
test
(
query
))
{
}
else
if
(
/imageView
/
.
test
(
query
))
{
// imageView2 || imageView
if
(
!
/
\/
q
\/\d
+/
.
test
(
query
))
{
imgUrl
+=
`
/
q
/
$
{
params
.
q
}
`
;
}
else
{
...
...
Please
register
or
login
to post a comment