Skip to content

Commit 2880d92

Browse files
committed
fix img process plugin.
1 parent cca45c0 commit 2880d92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils/lazyload.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ export function applySrc (item, src, placeholderSrc) {
3939
delete item._src_loading
4040
}
4141

42-
if (window.weex && window.weex._processImgSrc) {
43-
src = window.weex._processImgSrc(src, item)
42+
if (window._processImgSrc) {
43+
src = window._processImgSrc(src, item)
4444
if (placeholderSrc) {
45-
placeholderSrc = window.weex._processImgSrc(placeholderSrc, item)
45+
placeholderSrc = window._processImgSrc(placeholderSrc, item)
4646
}
4747
}
4848

0 commit comments

Comments
 (0)