fixes bugs to fav load pages error
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -92,6 +92,10 @@ function loadData($parent, url, page) { | @@ -92,6 +92,10 @@ function loadData($parent, url, page) { | ||
92 | } else if (data === 'end') { | 92 | } else if (data === 'end') { |
93 | $parent.closest('.fav-type').find('.fav-load-background') | 93 | $parent.closest('.fav-type').find('.fav-load-background') |
94 | .removeClass('fav-load-background').html('没有更多了'); | 94 | .removeClass('fav-load-background').html('没有更多了'); |
95 | + | ||
96 | + // hf: fixes bug to 修改没有数据还调接口,加载错误页面问题 | ||
97 | + brandLockId = true; | ||
98 | + lockId = true; | ||
95 | } else if (data.length > 10) { | 99 | } else if (data.length > 10) { |
96 | $parent.append(data); | 100 | $parent.append(data); |
97 | $parent.closest('.fav-type').find('.fav-content-loading').remove(); | 101 | $parent.closest('.fav-type').find('.fav-content-loading').remove(); |
-
Please register or login to post a comment